Data type mismatch error

T

tina

you've listed field LocaleID as data type numeric, but in
the DLookUp function you've used text delimiters around
the value. try this instead

Me.Fee1 = DLookup("[Fee]", "tblCostByLocale", " [CPTID]
= " & Me![cboCPT1] &
" And [LocaleID] = " & Me.txtLocaleID)
 

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

Top