Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Connections
Message
 
To
28/10/2004 16:02:34
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
00953758
Message ID:
00955483
Views:
25
Hi Jim,

I used Leroy's idea and it worked,
I have a parameters table where I store the string to connect to SQL
and on the forms data enviroment I applied the code as explaind by leroy @ the beforeopentables method and the connection worked just fine.

Bernardo

>Hi Chad,
>
> I've created remote views in my application and those connect via a connection. That's why I need one...
>
>Jim
>
>>Jim,
>>
>>I've not been following this thread, so please forgive me if this has already been discussed and shot down, but why not use a connection string instead of a connection. Then you can just fill in the username and password before you ever try to make the connection via SQLSTRINGCONNECT()
>>
>>HTH,
>>Chad
>>
>>>ALL,
>>>
>>> Ok, I've been sitting at work looking at this ODBC issue for the past 4 hours. I need to know if there is a way to have a connection in a project and set the properties, such as userid and password, BEFORE connecting.
>>>
>>>Thanks
>>>
>>>Jim
B.D.H.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform