Dlookup Question (I should know)

melodyF

Registered User.
Local time
Today, 20:13
Joined
Mar 20, 2002
Messages
19
I'm trying to use Dlookup to pull a value from a query into a report:
ThI want the Salary where the field section is BankPro..

=DLookUp("Salary","qryChartQtr2","Section = BankPro")
The value of BankPro is text.

Thanks for the help...
 
you wrote
<<
=DLookUp("Salary","qryChartQtr2","Section = BankPro")
The value of BankPro is text.
>>

Should be
=DLookUp("Salary","qryChartQtr2","Section = 'BankPro'")
with single quotes around BankPro

RichM
 

Users who are viewing this thread

Back
Top Bottom