Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Fri Jul 20, 2018 1:47 am
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: How to test for error in code
PostPosted: Thu Feb 21, 2013 7:50 pm 
Offline

Joined: Sat Dec 04, 2010 9:14 pm
Posts: 918
Hello all,

I want to convert a string to a date. But I want to test the conversion to be sure that if an exception occurred, it can be managed quietly.
If parseDate(Date1, theDate) = False Then
theDate.SQLDate = Date1


End If


In the above, what code can be used to check the line theDate.SQLDate = Date1?

Thank you!
Tim


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours


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

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