Ok, I see what you're saying. Thanks!
-Michelle
>You do not have to set up an environment in the report; leave it without, and open the tables you need before doing REPORT FORM XXX. Most of my reports have no environment; I create it just before printing.
>
>When you design the report, it´s helpful to CREATE the cursors previously (by hand) just to be able to drag and drop fields to the report. I think you want to write something like:
>
>SELECT secondarycursor
>INDEX ON ... TAG whatever
>SELECT primarycursor
>SET ORDER TO ...
>SET RELATION TO ... INTO secondarycursor
>SET SKIP TO secondarycursor
>REPORT FORM ... TO PRINT
>
>In the report you can include expressions as PRIMARYCURSOR.DATA or SECONDARYCURSOR.TOTAL. You would want to include a grouping on the PRIMARYCURSOR.KEY, and the detail would (mainly) print fields from SECONDARYCURSOR.
>
>HTH!
Previous
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