Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report Class for VPF 7?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00787894
Message ID:
00788344
Vues:
26
>Fred,
>
>Fred,
>
>Yes, I was thinking of file/open then saveas.
>However, if we decide to move one of the objects on the template, we still have to make the same change on all of the other reports.
>
>>>Is there any way to create a report class?
>>>
>>>For example, all reports would have the date, time, company name, etc in a specific position.
>>>
>>>TIA.
>>
>>You can create a "template report" that all others start from.
>>
>>CREATE REPORT template
>>Add in your titles, fields for date/time, etc where you want them.
>>
>>Before creating new report, COPY FILE template.FR* TO YourNewReport.*
>>MODIFY REPORT YourNewReport

Well, you might be able to come up with some code that "merges" the template reports info with a current report. If it finds a "template" field or object in your report, it modifies it, if it doesn't find the "template" field or object, it adds it. The devil will be in the details for sure.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform