>>It's VFP caching in action. If you issue
loSession = XFRX("XFRX#INIT") in EXE first, VFP caches xfrx.fxp from EXE, otherwise it caches xfrx.fxp from APP. Any program (fxp) can only see reports from EXE/APP it's built into. I don't think there's a simple salutation to this problem.
>>
>>>
>
>I found that calling XFRX ("XFRX#INIT") in the EXE before calling it in APP solves the problem. Apparently when VFP caches the XFRX in .EXE it works on both the .APP reports and on .EXE report.
No, it only works because in APP you run external reports. If you try to run reports embedded into APP, you'll have the same problem.
--sb--