473,507 Members | 9,611 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Link OLE objects to Records

I've got a whack of photos from my digital camera that I'd like to link to in a database. (I can add descriptions etc.) If I can get the filenames into a table, how can I link the actual file to a db record?

I'm trying to avoid the manual "Right-Click", "Insert Object", Link, "Browse" etc..
Nov 13 '05 #1
2 1628
Use the application.filesearch method and just populate a field in the
table with the filenames.

VBA help shows you an example.

Nov 13 '05 #2
Hmmm. I reviewed the help file and I don't think I made my needs clear.

Lets say I have a table called Photos, with the following fields:
PhotoID - Autonumber
Taken - Date
Location - text
WhoOf - text
Desc - memo
filename - text
Pic - OLE

I can use code to populate the filenames. What I'm trying to do is link the photo with that filename to the Pic field, so that when I use a form to go through the records, the picture will be displayed. I don't want to create all those links by hand...

Also, I was hoping this could be done in A97..
--
Brian
Ozzone<oz**********@yahoo.com> June 9, 2005 1:10 pm >>>

Use the application.filesearch method and just populate a field in the
table with the filenames.

VBA help shows you an example.

Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
1939
by: vishal | last post by:
when i run query i am getting thousands of records and i am displayaing a particular no. of records on a single page say 100 records then i put a link to go on next page. when user clicks on next...
0
1563
by: Jon Franz | last post by:
----- Original Message ----- From: "Jon Franz" <jfranz@neurokode.com> To: "Serge Orlov" <sombDELETE@pobox.ru> Sent: Wednesday, November 19, 2003 2:39 PM Subject: Re: Python Database Objects (PDO)...
11
1711
by: Drew | last post by:
I would like to explore some different ways to build a link out of the following string from a db, Fiscal; swvtc/fiscal/fiscaldata.asp: Records; swvtc/records/recordsdata.asp: Which is just a...
3
2232
by: VIJAY KUMAR | last post by:
Hi pals, I am using 2 web forms (pages). In first page, i have Datagrid control and on second page i have a hyper link control to the first page and Add value to the data grid/Database. ...
5
3123
by: Shibu | last post by:
Hi, I have a situation where I need to convert business objects to a flat table. The reverse is also required. I am using c# and Oracle ODP. I am looking for an easier method to do the below...
12
5292
by: Noel | last post by:
Hello, I'm currently developing a web service that retrieves data from an employee table. I would like to send and retrieve a custom employee class to/from the webservice. I have currently coded...
8
2590
by: acheron05 | last post by:
Hi there, Hopefully I won't fit the stereotype of the typical student posting his assignment to be written for him, but I am quite stuck. If anyone could give me some help in how to create...
2
1138
by: Steeler | last post by:
This is the weirdest thing I've ever come across but I assume I'm missing something simple. I have an Access application. I update the front end (FE) occasionally and then have an automatic...
2
1620
by: fran7 | last post by:
Hi, I have this very nice link tracker script that works a treat. The only thing is it doesnt restrict repeat clicking. Is there a simple method to add a cookie feature to this so that people...
0
7110
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7314
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7372
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7030
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5623
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5041
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3191
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1540
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
411
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.