Leemi
Thu Jul 31 16:44:43 CDT 2003
Hi Bruce:
Since you are trying to limit the number of times the login dialog appears,
can you try the suggestions in this article?
187720 HOWTO: How to Disable ODBC Login Prompt at Run-Time
http://support.microsoft.com/?id=187720
I hope this helps.
This posting is provided "AS IS" with no warranties, and confers no rights.
Sincerely,
Microsoft FoxPro Technical Support
Lee Mitchell
*-- VFP8 HAS ARRIVED!! --*
Read about all the new features of VFP8 here:
http://www.universalthread.com/VisualFoxPro/News/VFP8Release.asp
Purchase VFP8 here:
http://shop.microsoft.com/Referral/Productinfo.asp?siteID=11518
Keep an eye on the product lifecycle for Visual FoxPro here:
http://support.microsoft.com/default.aspx?id=fh;[ln];lifeprodv
- VFP5 Mainstream Support retires June 30th, 2003
- VFP6 Mainstream Support retires Sept. 30th, 2003
>I have already created an connection object with my DBC that I use with
>remote views into SQL. If I want to query a table in the SQL server, can I
>use the connection object I have already created?
>I tried:
>sqlconnect('mydsn','myusername','mydbcconnectionobject') but it doesn't
>work.
>I'm trying to limit the number of times I have to put the username and
>password in code.
>TIA
>-Bruce