Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Utility for removing Tag, Tag2 and EXPR from FRX
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00434131
Message ID:
00434273
Vues:
26
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform