R
ryguy7272
I’m trying to get a simple Dlookup working and I seem to be struggling with
it. I have values that I pass to a query, using VBA, and populate TextBoxes
on a report. One TextBox is named ‘CUST’ for Customer. When CUST is
populated, I’d like to see a rate (this is fixed for each customer) in my
report. This is what I have now:
=DLookUp("Rate","Customers","Customer = " & [CUST])
Rate is the Rate that I want to lookup.
Customers is the name of the table.
CUST is the TextBox on the report.
What am I doing wrong?
Thanks!
Ryan--
it. I have values that I pass to a query, using VBA, and populate TextBoxes
on a report. One TextBox is named ‘CUST’ for Customer. When CUST is
populated, I’d like to see a rate (this is fixed for each customer) in my
report. This is what I have now:
=DLookUp("Rate","Customers","Customer = " & [CUST])
Rate is the Rate that I want to lookup.
Customers is the name of the table.
CUST is the TextBox on the report.
What am I doing wrong?
Thanks!
Ryan--