Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Send parameters to report
Message
 
To
15/12/2002 23:56:55
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00733216
Message ID:
00733538
Views:
25
Reza,

Reports cannot be "driven" bay an array, there must be a table or cursor to drive the report. You can refer to an array from within the report. The best way to do what you want is to put the data in the array into a cursor for the report.
* Assume laArray() has three columns, the Primary Key, The name, and the balance due.

CREATE CURSOR DriveRpt ;
       ( ID C(10), ;
         Name C(60), ;
         Balance Y)

SELECT DriveRpt
APPEND FROM ARRAY laArray

* Now the data is in the cursor named DriveRpt
Previous
Reply
Map
View

Click here to load this message in the networking platform