Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is the best ODBC way to go?
Message
From
09/11/2001 17:15:19
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00579252
Message ID:
00580005
Views:
46
Thanks, do you know whether there is some demo on it or some kind of class that manages that? Or in Downloads??


TIA

Luis




>Just the server name and maybe the database name. The authentication info such as id and password, you would want that in your app.
>
>
>
>>So, I'd have the connection string in a file or the registry entry, then when I start my app I'd read it from it and replace the one in the connection with DBSETPROP( "myconnection", "connection", "ConnectString", lcConnString) ??? Am I right???
>>
>>TIA
>>
>>Luis
>>
>>
>>
>>>Hardcoding the string is one way to go. Alternatively, you could use an Ini file, registry entry, XML file, or a Fox table for that matter.
>>>
>>>As a practical matter, I would not hardcode the string since at a minimum, one would want to change the name of the server to accomodiate testing and other locations.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform