G
Guest
The following is attached to the Control Source of a textbox on a form
called test:
=DLookUp("[job_id]","job"," [job_desc] = ' " & Forms!test!txtJobDesc & " ' ")
where job_id (autonumber) and job_desc (text) are fields in job table,
txtJobDesc is a combo box containing the job description on the test form.
The combo box is populated from a query that selects job_desc from the job
table.
The textbox remains blank when the form is in Form View.
Would someone let me know what I am doing wrong, please? and / or how to fix
the problem?
Thanks!
called test:
=DLookUp("[job_id]","job"," [job_desc] = ' " & Forms!test!txtJobDesc & " ' ")
where job_id (autonumber) and job_desc (text) are fields in job table,
txtJobDesc is a combo box containing the job description on the test form.
The combo box is populated from a query that selects job_desc from the job
table.
The textbox remains blank when the form is in Form View.
Would someone let me know what I am doing wrong, please? and / or how to fix
the problem?
Thanks!