Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need to print memory array not data from database
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01579970
Message ID:
01579972
Views:
79
Likes (1)
>Hopefully a simple question.
>
>I have an array in memory. I've laid out a report format to print the data on one page. There is no table opened.
>I just want to print the array elements. I've tried formatting the detail portion of the report format. When I run the
>report prints nothing. I've tried formatting the report in the header portion of the report format. Still nothing.

VFP reports have scopes i.e. they expect to process a table.

One workaround would be to create a dummy cursor with a single row, and set that as the default work area when you REPORT FORM ... Your report does not have to reference the cursor at all.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Reply
Map
View

Click here to load this message in the networking platform