If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Unanswered: Dlookup error...

Hello,

I am having a problem getting a Vlookup to work. This first bit of code works fine.....what it does is checks the enterTO field in form frm_RFPicking1 against the TO field in table frm_TO, and if they match, it runs a query and opens another form....if they do not match, it flashes for a couple seconds a label which shows an error.

This is the same code I was using, but with fields and pasted from a different table: