Field Default

darryaz

Registered User.
Local time
Today, 16:42
Joined
Nov 3, 2011
Messages
13
I'm working on a database for an MBA class. The data is mainly information about people: names, birthdates, addresses, etc.

I am displaying a photo of each person on that person's form. In order to do this I have to enter the path of the photo (example: r:\images\123456.jpg) into the IMAGEPATH field.

The filename of the photo is always r:\images\IDNO.jpg (where IDNO indicates the primary key of the database).

Is there a way to make r:\images\IDNO.jpg the default in the IMAGEPATH field?
 
Yep! Set the Control Source of the Image Control to:
Code:
="r:\images\" & [IDNO] & ".jpg"
 
Thanks, worked like a charm!
 
Happy to hear!

Welcome to the forum by the way.
 

Users who are viewing this thread

Back
Top Bottom