Syntax question

Richard Hane yoresoft at sbcglobal.net
Wed Jun 5 13:33:53 PDT 2013


fpODBC 1.0.15
 
DSN = fp-sqlserver
 
Which one of the following two lines is correct?  Both pass syntax check and will run when tested.
 
Connection = new ODBC_CONNECTION("fp-sqlserver")
 
or
 
Connection = new ODBC_CONNECTION("fp-sqlserver ; ")
 
The question has to do with the semi colon at the end of the statement.
 
I am still trying to resolve why the connection sometimes fails.  Then if you immediately run it again it works correctly.
 
Thank you,
Rick Hane
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20130605/a6f9a9cd/attachment.html 


More information about the Filepro-list mailing list