Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Open Microsoft Query
Message
 
 
To
03/01/2004 20:26:57
Peter Wagner
Point Informática Ltda.
Limeira, Brazil
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00863688
Message ID:
00863816
Views:
11
>Does someone knows how to open programatically Microsoft Query in Excel ?
>In Excel from the Data menu, choose Get External Data. Microsoft Query opens.
>
>A customer want to open Query window opens automatic from VFP so the enduser doesnt has to know about the stuff to connect to the server.
>
>I recorded a macro but when I was looking the code, nothing about Microsft Query was there.
>
>Thanks in Advance.
>

Peter,
MS Query is designed to return result sets to Excel. Maybe you could VFP's DDE commands to work with it and do the same thing, I don't know. The MS Query Help gives all the DDE commands supported by it and some examples on how to use them.

However, if you simply want an ad hoc query interface for your users, maybe one of the entries in the Downloads section will help. Use "query" in the Description field.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform