Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL to Excel through ODBC - Embed file name.
Message
From
20/04/1998 15:01:53
 
 
To
20/04/1998 09:29:56
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00093370
Message ID:
00093458
Views:
25
>I'm using ODBC to run a SQL Select statement to an excel spreadsheet. Every time I open the connection it asks for a file name, even though I've specified that in the view designer. Is there a way to embed the file name so the user doesn't need to know the source file name?
>
>Thanks in advance.

Never mind. For those who may be interested, I'm selecting ODBC over OLE because of less coding and better performance (at least on the PC's where the app will run). The approach I'll be taking is to create a separate DSN for each user-maintained excel workbook. Then in the VFP database there will be one connection for each of the DSN's created. In that way, the user does not need to know the file name of the excel spreadsheet (each of the spreadsheets are owned by different users) and I get to use ODBC over OLE.
Previous
Reply
Map
View

Click here to load this message in the networking platform