Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel 97 - 2000 + ADO Recordset
Message
From
08/02/2003 04:41:15
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00748147
Message ID:
00750993
Views:
24
>Is it possible to pass an ADO Recordset to Excel 97/2000 and show the records in excel from VFP 7 ?

Yes,
Check QueryTables.Add. In simple form :
with oExcel.ActiveWorkbook.ActiveSheet
.QueryTables.Add(oRs, .Range("A1"))
endwith

You can also check a sample using it in FoxyClasses (dbf2excel).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform