Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report Class for VPF 7?
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00787894
Message ID:
00788344
Views:
30
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform