Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Query to MSExcel

Status
Not open for further replies.

LastCyborg

Programmer
Feb 7, 2003
256
MX
I'm programming a DataBase which has some queries, but I need an option to export a query to MSExcel.

How can I do that?
 
Excel is not a query based database. I'd say is not a adtabase at all, however you can use it to store data. You should use OLE to export/import from excel

Ion Filipski
1c.bmp

ICQ: 95034075
AIM: IonFilipski
filipski@excite.com
 
I need to pass the query just like you see it in a grid
 
I do not knw why do you need BorlandC++ there.
Open excel, and do a menu command:
data->getExternalData->RunSavedQuery or NewDatabaseQuery ....

Ion Filipski
1c.bmp

ICQ: 95034075
AIM: IonFilipski
filipski@excite.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top