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.
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.