Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


how to check if record exists

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,151
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> how to check if record exists
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 how to check if record exists - 6/10/2001 10:34:11 PM   
  ekiko

 

Posts: 14
Score: 0
Joined: 5/23/2001
From: New Zealand
Status: offline
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.
 
 
Post #: 1
 
 Re: how to check if record exists - 6/10/2001 10:36:15 PM   
  aspprogrammer

 

Posts: 10
Score: 0
Joined: 6/9/2001
From: Belgium
Status: offline
check for BOF like (recset.BOF and recset.EOF) = true then
there is no record exists

(in reply to ekiko)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> how to check if record exists Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts