Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running exe file in windows xp
Message
 
 
À
22/08/2002 21:07:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00692340
Message ID:
00692759
Vues:
21
You can use Aerror() function to get error returned by ODBC driver.
What's the version of VFP ODBC driver on WinXP?

>nConn = SQLSTRINGCONNECT(sConn)
>>
>>IF nConn>0
>> VCONNSTR = sConn
>>ELSE
>> =MESSAGEBOX('Cannot connect to System Database!',0+16,'Connection Problem')
>> RETURN
>>ENDIF
>
>nConn returns a negative value. The system returns the message "Cannot connect to System Database"
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform