Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ODBC DATA SOURCE
Message
From
21/11/2000 10:43:23
Fida Shamsoodeen
Combined Systems (Pty) Ltd
Centurion, South Africa
 
 
To
21/11/2000 10:04:04
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00444046
Message ID:
00444140
Views:
9
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!!!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform