Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ODBC DATA SOURCE
Message
De
21/11/2000 10:04:04
 
 
À
21/11/2000 09:10:58
Fida Shamsoodeen
Combined Systems (Pty) Ltd
Centurion, Afrique du Sud
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00444046
Message ID:
00444080
Vues:
18
>>>>>>>>>>>>>>>>>>>>>>
>I use an ODBC driver to connect to a SQL 6.5 database.
>In my program i use sqlconnect('BAUDWIN','SA','') OR
>SQLSTRINGCONNECT('DRIVER=SQL SERVER ETC ETC')
>
>The problem is i would like to use say e.g. the 'baudwin','sa,''
>as a variable. Can i set this in the config file or how else do i do this.
>I would like to do the same for the SQLSTRINGCONNECT
>>>>>>>>>>>>>>>>>>>>>>

Fida,

Wouldn't this work?

lcName = 'BAUDWIN'
lcUID = 'SA'
lcPassword = ''
sqlconnect(lcName,lcUID,lcPassword)


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform