Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

The "no recs" message box keeps on

Status
Not open for further replies.

buee04

Technical User
Jun 27, 2002
129
US
The "no recs" message box keeps on popping up after I seasrch, but frmSearchResults do return the correct results when I open it. Can I just take out that if then else statement?

So it is constantly returning true for .bof and .eof so "no record" always pops up, even though a record is found. But when i took out the if statement and only had Forms!frmSearchResults!txtCount = rs!NumRecords + 1, then it gives me an error. I guess it still has incorrect syntax. The error says No current Record.
 
PLEASE DISREGARD THIS THREAD. I clicked on refresh when I was trying to reply to a post cuz it kept on stalling on me but refreshing took me to the access forum site. sorry.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top