Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ODBC
Message
From
15/06/2000 12:18:20
Rene Van Den Berg
Infertility Database Systems Ltd
Islington, United Kingdom
 
 
To
15/06/2000 11:54:45
Rene Van Den Berg
Infertility Database Systems Ltd
Islington, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Re: ODBC
Miscellaneous
Thread ID:
00379897
Message ID:
00380803
Views:
13
>>Hi Rene,
>>
>>You can use SQLSTRINGCONNECT to create a connection to any database. You must define first an ODBC connection at your Control Panel.
>>After that you'll see the tables from the other data source.
>>
>>Say something.
>>
>>Ric
>
>Well, I used sqlconnect to an Excel file just for starters and it returns a positive connection handle, which is good. But what now? I tried SQLexec(6,"SELECT * from bugs.dsn","Test"), SQLexec(6,"SELECT * from bugs.xls","Test") and SQLexec(6,"SELECT * from bugs","Test"), but it returns -1 (6 being the connection handle).
>
>Would appreciate some help, I'm sure it must be very simple. Thanks.
>
>René

Think I found it: you have to create a remote view, that's it isn't it?

Seems to work fine. Still would like any suggestions. Thanks.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform