INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

"The search key was not found in any record" error message

"The search key was not found in any record" error message

(OP)
keep getting the error message "The search key was not found in any record" after re working the VBA code when I run the Access 2003 database. Usually compacting and repairing makes it go away, but that is not working now. Any ideas?

RE: "The search key was not found in any record" error message

When do you receive the error?

Simi

RE: "The search key was not found in any record" error message

(OP)
when I run the VDB program...I'm sure its my fault...I found a

myRecordsetR.MoveNext
Wend
myRecordsetR.Close
Set myRecordsetR = Nothing
Set myConnectionR = Nothing

statement missing on something I was working on last night and that has solved the problem...but message still pops up when running other routines...fortunately the compact and repair statement usually fixes it although the routine is interrupted and must be run again....probably upsetting my tables.

RE: "The search key was not found in any record" error message

PL01,

You are showing only a snippet of your code.

WEND is the WHILE loop terminator - you are not showing us anything of use; there MUST be a WHILE statement above what you are pasting here (which will contain code that is doing something, but we cannot see it).

Please re-post - with full code list.

ATB,

D

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close