Dlookup not working

  • Thread starter Thread starter SHIPP
  • Start date Start date
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
Bound combobox 6
Error 3071 when trying to do query 2
Form On Current question 2
Updating combo box from another form 3
Dlookup 1
Using Dlookup in VBA 4
Access Can't Get Dlookup To Work 1

Back
Top