Blank fields in form

S

steven w

I have three forms linked by JobID. JobID and Job Title
are common to all forms. The master form holds all
information correctly, but when viewing the two linked
forms, Job Title field is blank. There are no error
messages. Thanks for any advice to help with this problem.
 
M

MacDermott

If each JobID has its own title, and both fields are in tblJobs, you could
set the ControlSource for your Job Title field to this:
= DLookup("[Job Title]","tblJobs","JobID=" & [JobID])
(this assumes the JobID is numeric)

HTH
- Turtle
 
S

steven w

JobID is text
-----Original Message-----
If each JobID has its own title, and both fields are in tblJobs, you could
set the ControlSource for your Job Title field to this:
= DLookup("[Job Title]","tblJobs","JobID=" & [JobID])
(this assumes the JobID is numeric)

HTH
- Turtle

steven w said:
I have three forms linked by JobID. JobID and Job Title
are common to all forms. The master form holds all
information correctly, but when viewing the two linked
forms, Job Title field is blank. There are no error
messages. Thanks for any advice to help with this
problem.


.
 
M

MacDermott

= DLookup("[Job Title]","tblJobs","JobID=" & chr(34) & [JobID] & chr(34))

steven w said:
JobID is text
-----Original Message-----
If each JobID has its own title, and both fields are in tblJobs, you could
set the ControlSource for your Job Title field to this:
= DLookup("[Job Title]","tblJobs","JobID=" & [JobID])
(this assumes the JobID is numeric)

HTH
- Turtle

steven w said:
I have three forms linked by JobID. JobID and Job Title
are common to all forms. The master form holds all
information correctly, but when viewing the two linked
forms, Job Title field is blank. There are no error
messages. Thanks for any advice to help with this
problem.


.
 

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