Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Connection best practice
Message
From
22/11/2002 15:24:15
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00725402
Message ID:
00725992
Views:
7
just as i wanted. thank you.

>You may use
>
>If Type('DBGetProp("myConnection","CONNECTION","DataSource")') = 'U'
>    * does not exist
>EndIf
>
>Regards,
>Jose
>
>>Is there a best practice for checking if the creation of a connection is successful?
>>
>>Ex.
>>open data myDatabase
>>create connection myConnection ;
>>  datasource 'myODBCConn' ;
>>  userid 'myUserID' ;
>>  password 'myPassword'
>>
ramil
~~ learning to stand still
Previous
Reply
Map
View

Click here to load this message in the networking platform