General information
Category:
Reports & Report designer
I added an if statement to also remove info from labels (extension = lbx, type = B). It works great.
Thanks for the pointer and help.
>The ph_Report ProjectHook is ready made.
>
>Steps to adding a ProjectHook to a Project.
>1. Unzip the ph_Report.zip contents into say the Visual FoxPro folder. Therefore it is available to any project.
>2. Open the Project file in the Project Manager.
>3. Place the mouse below the Build button and right click to open a content menu.
>4. Select the "Project Info..." option.
>5. On the "Project Information" dialog, click the Project tab on top.
>6. On the Project page, check the Project Class checkbox. When this happens a Open Class dialog will appear.
>7. Locate the ph_Report.vcx, and select it. The class "ph_ClrReport" will appear in the listbox to the right.
>8. Click Ok button. Once back to the Project Info dialog, the Class and CLass Library will appear in the Textbox.
>9. Click then "OK" button.
>10. You need to close the Project Manager and reopen it for the projecthook to be fully loaded.
>
>When you preform a build, the BeforeBuild event will be called, and remove the printer information from any report referenced in the project file.
>
>Warning: Do Not add the projecthook class library to the project like other class libraries. This will cause an error during the build.
>
>Hope this helps.
>
Previous
Next
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