Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Export To EXCEL
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows Server 2003
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01120556
Message ID:
01120569
Views:
12
One of the solutions:
sele * from yourtable into cursor curs1 readwrite
calc sum(OrdCnt) to ln
appe blank
appe blank
repl ordCnt with ln
copy to ... xls
You may need to extend the length of the OrdCnt in case there is not enough space for the total. Like:
sele ..., 0000000000.00 + OrdCnt as OrdCnt from yourtable into cursor curs1 readwrite
>Trying to Export a table into XLS Spreadsheet, the data in the table is being grouped. I want to be able to Insert an empty row and automatically calculate the total of a Column called OrdCnt below the empty row to display totals of OrdCnt.
>
>Thanks
Previous
Reply
Map
View

Click here to load this message in the networking platform