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:
IF TYPE('m._oreportoutput.Item("1").CommandClauses') = "O"
?m._oreportoutput.Item("1").CommandClauses.File
ENDIF
IF TYPE('m._oreportoutput.Item("0").CommandClauses') = "O"
?m._oreportoutput.Item("0").CommandClauses.File
ENDIF
You could wrap that up in a function