Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Utility for removing Tag, Tag2 and EXPR from FRX
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00434131
Message ID:
00434273
Views:
25
>I've built this functionality into my Project Hook class. It has a custom method that's called from the BeforeBuild event:
>
>
>FOR i = 1 TO THIS.oProjRef.Files.Count
>	oFile = THIS.oProjRef.Files(i)
>	IF oFile.Type = "R"
>		lcFileName = oFile.Name
>		WAIT WINDOW "Clearing Printer information from report: " + lcFileName NOWAIT
>		USE (lcFileName) IN 0 EXCL ALIAS ReportFile
>		* The "use" might have failed for whatever reason... the error handler simply ignores it
>		IF USED("ReportFile")
>			SELE ReportFile
>			GO TOP
>			REPLACE Tag WITH ""
>			REPLACE Tag2 WITH ""
>			USE IN ReportFile
>		ENDIF
>	ENDIF
>ENDFOR
>
>WAIT CLEAR
>
>
Hi Erik,

This definitely looks like the easiest way to go about it. Now for a very stupid question...

Where do I find this project hook class? I went to the projects tab of options and I click on project class checkbox but it wants me to supply a vcx.

Thanks,
Paul
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform