Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report Form causes code to loose focus
Message
 
To
08/04/2005 15:35:59
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01002820
Message ID:
01003350
Views:
17
The report writer's native behavior scans through the table. If you just want a report of the entire table, do this:

Select Disctint myDate From myTable InTo Cursor myCursor
Report Form myReport.frx Preview

If, however, you are trying to get individual reports for each page, you can try this:

Select Disctint myDate From myTable InTo Cursor myCursor
SCAN
Report Form myReport.frx NEXT 1 Preview
ENDSCAN


>I am having trouble with the following code
>
>Select Disctint myDate From myTable InTo Cursor myCursor
>Scan
>
>Report Form myReport.frx Preview
>
>EndScan
>
>The Report Form command causes my Scan to go crazy, into an infinte loop.
>I have stripped all code, fields, etc. form the report. Without the Report Form command my Scan runs just fine.
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Previous
Reply
Map
View

Click here to load this message in the networking platform