Information générale
Catégorie:
Gestionnaire de rapports & Rapports
Adam:
You are dead on--an old Clipper head learned something today. Thanks a lot!!
John
>The report form command moves the record pointer by default. If you want it to start at the Current Record and go through the end of your table, include
>
>WHILE .T. - REPORT FORM ClientStatus WHILE .T. NOCONSOLE TO PRINT
>
>The WHILE scope option always prevents such commands in Foxpro from moving the record pointer. But if you want to print a particular range, you can figure out how to do it with the WHILE or FOR commands. If you only want the memo to print for one record, put:
>
>l_nRecno = Recno('TableX')
>REPORT FORM ClientStatus WHILE Recno('TableX') = l_nRecno NOCONSOLE TO PRINT
>
>-Adam
>
>
>>I have a page with two edit boxes bound to memo fields. On this page is a print button. The user clicks on the button and I want the program in invoke a report that prints the contents of the two memo fields to print:
>
>REPORT FORM ClientStatus NOCONSOLE TO PRINT
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