Avatar of João serras-pereira
João serras-pereira
Flag for Portugal asked on

rst.nomatch always returns TRUE

I had this question after viewing type mismatch on rst.findfirst.
On my app, I have a rst with a value and I am always getting a .nomatch situation in spite of the record being there (a match occurs)

van anyone help?



Screen-Shot-2017-10-27-at-12.41.28.png

Screen-Shot-2017-10-27-at-12.41.28.png
Microsoft AccessVBA

Avatar of undefined
Last Comment
João serras-pereira

8/22/2022 - Mon
Pawan Kumar

Compare it value with true or false..

IF _rst.NoMatch  = True
...
Else
...
End IF
ASKER CERTIFIED SOLUTION
Gustav Brock

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
João serras-pereira

ASKER
Hi (Gustav)
Now I am getting a novel error:

Screen-Shot-2017-10-27-at-13.47.05.png
Screen-Shot-2017-10-27-at-13.48.18.png
aikimark

in the Immediate window, use "?" instead of "debug.print"
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
João serras-pereira

ASKER
righto and thanks!!!!! I had a misspeleld nam as welll... THANKS for helping mme!