Information générale
Catégorie:
Gestionnaire de rapports & Rapports
Tom,
I always run my reports of a selection cursor, thus one record per detail line, but rather non-normalized data. This does not count report lines: if the data is from a memo field and expands to cover several lines on paper it would count as one record.
I'm not sure what you mean by "paging on the data description rather than the line count."
If you got many too many pages it sounds like you are using 2 related tables and counting records in the wrong one. There are also the "on entry" and "on exit" functions in the VFP6 report writer. I have not used them.
>>Thomas,
>>
>>Assuming that you have one report line per record, group your data on INT((RECNO()-1)/20) for 20 lines per page for example.
>>
>>[Copy the expression into the first line of the dialog box found under Reports|Data Grouping. Check the box which says "Start each group on a new page"]
>>
>>
>>>I would like to be able to print a multi page report
>>>with a set number of lines printed on each page. Would
>>>appreciate a step by step process for this.
>>>
>>>TIA
>
>Cindy,
>
>I tried doing the above and my 38 page report increased to 1212.
>It was paging on the data description rather than the line count.
>Is there another way to just count the times the detail prints?
>This would allow single and multiple line records.
>
>Tom
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement