Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing the Print Button in the Report Preview Functio
Message
De
12/08/2002 16:39:56
 
 
À
12/08/2002 16:17:56
Carmen Gassi
Perseus Software Systems
Oakville, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00688386
Message ID:
00688847
Vues:
14
This message has been marked as a message which has helped to the initial question of the thread.
Carmen,

You should be able to put the code in a method of the form that runs the report, and call it like below from the report. Whether or not that is the best solution for you, I don't know :)


>>Hi Sergey
> Can the code for assigning the invoice number be stored in a method on the current form, or can it be stored with the report, or is it standalone code that is part of the project, the reason I'm asking is that the form from which the invoice report is printed has to know the invoice number to include it in the A/R entries which occur after the invoice has been printed.
>
>Regards,
>Carmen
>
>Not directly but you can call your function that assigns invoce number from the Title band "On Entry".
* Report Title band On Entry.
>>WEXISTS("Printing...") AND thisform.AssignInvoiceNumber()
>>...
>>Function AssignInvoiceNumber()
>>* Generate/get invoice number
>>...
>>RETURN .T.
Steve Gibson
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform