General information
Category:
Reports & Report designer
Matt,
Range is to specify page numbers. FOR or WHILE specify what the data looks like.
How many records have custno = "ABC?" ABC amy or may not fill a page or overflow to several pages.
If you only want data for ABC you might do better to select only that data into a cursor (rather than printing straight off the regular table), loop through printing the interleaved pages (which you say works correctly) and then go back for another customer.
>I've never had to use the REPORT FORM 'RANGE' command before, but I've recently found a situation where it would be perfect. I need to collate the output of 2 different frx's, so I need to print the first page of each report, loop, print the 2nd page, and so on...
>
>It works the way that I want IF I don't use any limiters on the data, such as a scope, FOR or WHILE. If I issue a REPORT FORM myrep FOR custno = "ABC", it ignores the RANGE and prints all pages from start to finish.
>
>I haven't tried this under VFP 6 yet, but it seems like a bug to me.
>
>Thanks in advance for any enlightenment!
>
>-Matt
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only