Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report form name
Message
 
À
03/10/2008 10:51:56
Alan Harris-Reid
Baseline Data Services
Devon, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01352566
Message ID:
01352575
Vues:
31
Hi Alan,

>I have a number of reports, each related to a different cursor record, and it would save me a lot of testing time if I could see the .frx name on the report itself. Does anyone know of such a function?
>

If you are using the VFP 9.0 Report Engine (SET REPORTBEHAVIOR 90), you could grab it this way:
* Preview
IF TYPE('m._oreportoutput.Item("1").CommandClauses') = "O"
	?m._oreportoutput.Item("1").CommandClauses.File
ENDIF
* Print
IF TYPE('m._oreportoutput.Item("0").CommandClauses') = "O"
	?m._oreportoutput.Item("0").CommandClauses.File
ENDIF
You could wrap that up in a function
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform