Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP6SP5, programatically setup ODBC to DBCs
Message
 
 
To
17/12/2002 11:52:23
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00715393
Message ID:
00733727
Views:
27
Geoff,

You can create such connection in your DB and use it for your remote views. When you create connection, select 'Connection string' and cut and paste connection string from your code (w/o ne wline characters and quotes).

>Hi Sergey
>
>I am even more confused now. Surely I dont want to keep creating the remote connection each time. Perhaps I should step back a bit.
>
>What I am trying to achieve is to use a remote view via a DSN-Less connection.
>
>Should I create a connection in my database and then access the views via that?
>
>I am at a bit of a loss as to how I should implement this as remote views are all a bit new to me. Could you give me an example of how I would do this to access a VisualFoxpro database?
>
>Regards
>Geoff Scott
>
>
>>Geoff,
>>
>>You cannot use connection handle created by SQLSTRINGCONNECT() or SQLCONNECT() in views in VFP7 and earlier. However, you can create connection to the remote source with connection string and use that connection for your views.
CREATE CONNECTION MyRemConn CONNSTRING lcConnStr
>>>Hi Sergey
>>>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform