General information
Category:
Reports & Report designer
Environment versions
Network:
Windows 2003 Server
>Guy,
>
>I was thinking along these lines also, but here is the deal.
>
>For all reports we're using a special form class. This class has PrintReport method. The class also has buttons such as Preview, etc. The preview button calls this method with the 'Preview' parameter
>
>Now, each report has the following code in its PrintPreview method
>
>report form ThisParticularReport &tcDestination
>
>I'm wondering how can I incorporate your idea so I don't have to change all the individual report forms (actual forms) and only fix the base class?
Add my preview form as a member object of your class (e.g., yourclass.oPreviewForm). Then add "IN WINDOW yourclass.oPreviewForm" to your "REPORT FORM" command. (Or something along those lines.)
Just a thought.
Guy
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only