Find exact Match

G

Guest

Hi

I have a code which uses findfirst too check if a number currently exists
however it is advising that the number I am checking does exists but when I
check in the table it is not there.

ie looking for 356 but is finding 356125

Thanks
Noemi
 
J

John W. Vinson

Hi

I have a code which uses findfirst too check if a number currently exists
however it is advising that the number I am checking does exists but when I
check in the table it is not there.

ie looking for 356 but is finding 356125

Thanks
Noemi

Please post your code. It's rather hard to fix an error without seeing the
code!

John W. Vinson [MVP]
 
M

Marshall Barton

Noemi said:
I have a code which uses findfirst too check if a number currently exists
however it is advising that the number I am checking does exists but when I
check in the table it is not there.

ie looking for 356 but is finding 356125


Use = instead of Like in the FindFirst criteria.
 

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

Issue with checking if number already exists using .FindFirst 2
How to do a Near Match Function 1
Find Method 4
FindFirst quit working 1
DLookup 8
Truncating Folders 1
Access Search on Access Table 1
No current record 4

Top