Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Connection best practice
Message
De
22/11/2002 15:24:15
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00725402
Message ID:
00725992
Vues:
8
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform