Dlookup not working

S

SHIPP

I am using Access 2003. I have the following lookup in a report.

intFirm = (DLookup("FirmSun", "stblFirmDays", "[StoreID]=" & Me.StoreID &
" AND [OrdGrpID]=" & Me.OrderGrpID))

It keeps on stopping at Me.StoreID saying Data member not found. StoreID is
in the underlying query supporting the report. I also placed the field in the
detail section and made it invisible. It is a numeric field. What am I doing
wrong?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

DLookup Data Type Mismatch 2
Using Dlookup in VBA 5
Something wrong with dlookup? 5
Dlookup in Detail 9
DLookup 0
Calling a function 2
Invalid syntax in dlookup 4
Error message for DLookUp 2

Top