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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to check if record exists

Status
Not open for further replies.

MikeT

IS-IT--Management
Feb 1, 2001
376
US
Is there a way I can check to see if a record exists in my database without getting a compilation error if it doesn't? I want the user to access the record (as read only)if it exists, and if it doesn't, I want them to recieve a form to input one.

Many Thanks
 
also check for BOF like (recset.BOF and recset.EOF) = true then there is no record exists.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top