E
enrico via AccessMonster.com
i created a form(frmInterviewer) with:
1 combobox - row source(SELECT Lastname, InterviewerID FROM tblInterviewer)
1 textbox(txtID) - bound column(1) = returns the InterviewerID of the name
selected on the combobox
3 textboxes, namely:
txtLastname = control source (=DLookup("Query1","Lastname")
txtFirstname = control source (=DLookup("Query1","Firstname")
txtMI= control source (=DLookup("Query1","MI")
1 button - me.refresh
i created a query(Query1):
SELECT Lastname, Firstname, MI
FROM tblInterviewer
WHERE (((tblInterviewer.Lastname)=[Forms].[frmInterviewer].[txtID]));
the problem is every time i open my form the three textboxes already has an
"error" word and it doesn't return anything. doesn't access recognize dlookup
if the source is from a bound textbox? what's the problem to my form?
1 combobox - row source(SELECT Lastname, InterviewerID FROM tblInterviewer)
1 textbox(txtID) - bound column(1) = returns the InterviewerID of the name
selected on the combobox
3 textboxes, namely:
txtLastname = control source (=DLookup("Query1","Lastname")
txtFirstname = control source (=DLookup("Query1","Firstname")
txtMI= control source (=DLookup("Query1","MI")
1 button - me.refresh
i created a query(Query1):
SELECT Lastname, Firstname, MI
FROM tblInterviewer
WHERE (((tblInterviewer.Lastname)=[Forms].[frmInterviewer].[txtID]));
the problem is every time i open my form the three textboxes already has an
"error" word and it doesn't return anything. doesn't access recognize dlookup
if the source is from a bound textbox? what's the problem to my form?