Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ODBC DATA SOURCE
Message
De
22/11/2000 02:59:47
Fida Shamsoodeen
Combined Systems (Pty) Ltd
Centurion, Afrique du Sud
 
 
À
21/11/2000 20:31:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00444046
Message ID:
00444500
Vues:
8
Hi Alex

Yes this is what i mean with create connection .
The problem is I upsized my data to SQL6.5 and it creates a connection called Upsize and I obviously have to overwrite this connection with whatever the user has setup as his login name etc in the ODBC DATA source..
Any Suggestions????

Thanks
Fida

>You mean, as in:
>
>CREATE CONNECTION [ ConnectionName ] ;
> [ DATASOURCE cDataSource ;
> [ USERID cUserId ] ;
> [ PASSWORD cPassWord ] ;
> [ DATABASE cDatabase ] ] | CONNSTRING cConnectionString ]
>

>
>
>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>Hi Alex
>>
>>Thanks for the reply. This will work fine EXCEPT i need to this at the Connection Designer because i Upsized my app to SQL6.5 and it requires the connection from the connection designer.
>>
>>Thanks
>>
>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>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)
>>>

>
Wannabe FoxPert!!!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform