Hi,
I am trying to use the dlookup function to set the controlsource property of
the unbound texbox as follows.
txtExpDesciption.ControlSource = = DLookup("[Description]",
"[ExpenseHeadMaster]", "[ExpenseHeadID]=" & Me.txtExpenseHead)
The above expression is giving me #Name? result in txtExpDesciption. What
could be the problem?
I tested the Dlookup function with a msgbox, it is evaluating correctly.
Please help.
Regards,
Rajesh
---------------------------------
Heres a new way to find what you're looking for - Yahoo! Answers
[Non-text portions of this message have been removed]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ms_access/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/