|
-
March 18th, 1999, 04:21 AM
#1
how to handle 'no current record' error in seek method (DAO)
The seek method of the tabletype recordset of the DAO pops up a message box saying "no current record" if no matches are found for the given search criteria.
How, if at all possible, can i stop this message box from appearing when there is no match for the given criteria ??
-
March 18th, 1999, 10:03 PM
#2
Re: how to handle 'no current record' error in seek method (DAO)
I don't know when it returns error. But there are two possiblities
1) Seek statement itself returns error.
if this is true then add on error to trap error
2) if error occurs while accessing records TableObject.Nomatch must be true
one of these will work
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|