B
bpauley
I have the following DLookup syntax in a control on a form. I am attempting
to get a $ rate (RateAmt) from a table entered in the CurrRateAmt text box
on the frmEnterMonthlyVisits form.
I get the #name error. Please help me understand what I have done wrong.
When I put an = sign in from of DLookup, I get an error message pop up with
omitted an operand or operator, entered invalid character or comma, entered
text without surrounding in quotation marks.
If I have not given adequate info, please tell me.
Dlookup("RateAmt";"tblFacilityRates";(((tblFacilityRates.FacilityID)=[forms]![frmEnterMonthlyVisits].[cbofacilityID])
AND
((tblFacilityRates.RateTypeID)=[forms]![frmEnterMonthlyVisits].[cboRateTypeID])
AND
((tblFacilityRates.RateTypeDescription)=[forms]![frmEnterMonthlyVisits].[txtposition]))
Thank you,
Bill
to get a $ rate (RateAmt) from a table entered in the CurrRateAmt text box
on the frmEnterMonthlyVisits form.
I get the #name error. Please help me understand what I have done wrong.
When I put an = sign in from of DLookup, I get an error message pop up with
omitted an operand or operator, entered invalid character or comma, entered
text without surrounding in quotation marks.
If I have not given adequate info, please tell me.
Dlookup("RateAmt";"tblFacilityRates";(((tblFacilityRates.FacilityID)=[forms]![frmEnterMonthlyVisits].[cbofacilityID])
AND
((tblFacilityRates.RateTypeID)=[forms]![frmEnterMonthlyVisits].[cboRateTypeID])
AND
((tblFacilityRates.RateTypeDescription)=[forms]![frmEnterMonthlyVisits].[txtposition]))
Thank you,
Bill