S
Sharon
My MainForm feeds off of the AuditCklst Query. I want
the Contact Name from another table or form or I don't
care where from...identified by the account# , to appear
in the MainForm.
Can I pull the Contact Name directly into my Main Form?
If so, where do I put the Dlookup? In the VB code? In
the control source for an unbound text box? Where do I
pull the Contact Name from? The Contact Table? The
Contact Form? The Contact Query? Following is one
attempt I made in the Control Source box.
ContactName = DLookup
("[first_name]", "[last_name]", "[account]=" & Forms!
frmCompRevContacts![account])
the Contact Name from another table or form or I don't
care where from...identified by the account# , to appear
in the MainForm.
Can I pull the Contact Name directly into my Main Form?
If so, where do I put the Dlookup? In the VB code? In
the control source for an unbound text box? Where do I
pull the Contact Name from? The Contact Table? The
Contact Form? The Contact Query? Following is one
attempt I made in the Control Source box.
ContactName = DLookup
("[first_name]", "[last_name]", "[account]=" & Forms!
frmCompRevContacts![account])