showing fields from another table

J

JB

Hello
In a form I'd like to have a field from another table than the source of the
form.
Example:
The Main form has all the client data for inputting and there is a control
to open the Contacts form for up to 4 contacts and phone numbers.
In the Main form however I'd like the first contact's name to appear, but
not for editing, just for info.
Can anyone tell me how to do that.
I tried to do the build thing to add the expression but it didn't work.
Thank you
J
 
R

Rick Brandt

JB said:
Hello
In a form I'd like to have a field from another table than the source
of the form.
Example:
The Main form has all the client data for inputting and there is a
control to open the Contacts form for up to 4 contacts and phone
numbers. In the Main form however I'd like the first contact's name to
appear,
but not for editing, just for info.
Can anyone tell me how to do that.
I tried to do the build thing to add the expression but it didn't
work. Thank you
J

The Dlookup() function should work for that. You coudl also use an unbound
ListBox or ComboBox (those would let you list all the contacts if desired as
well as just the first).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top