Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently October 11th, 2024, 8:18 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Database Search
PostPosted: April 22nd, 2006, 2:36 am 
Offline

Joined: December 25th, 2004, 3:31 pm
Posts: 178
Having problems doing a database search.

The problem is if the data is not found the variable comes up undefined. How is it possible to catch this undefined so I can have an if/else statement.

If search data found do, else do.


How can I do a search and have true / false answer.


Thanks in advance, Joe.


Top
 Profile  
 
 Post subject:
PostPosted: April 24th, 2006, 10:33 pm 
Offline

Joined: December 25th, 2004, 3:31 pm
Posts: 178
What a stupid question, sorry everyone. I should have just used the GetNumberOfRecords() function and if == 0 search not found else search result found.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group