Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report form name
Message
 
To
03/10/2008 10:51:56
Alan Harris-Reid
Baseline Data Services
Devon, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01352566
Message ID:
01352575
Views:
32
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform