Hello!
I have a problem with showing reports in Visual FoxPro.
My application consists of an .exe file which contains most of the code and an .app file that I run on start to add some more functionality accessible via a menu.
Each of these two files have reports included in them.
When I tried to show a report from the code in APP I got a File not found error. As a workaround I've excluded the report files from the APP project and placed it somewhere on the disk. So when I create a report I use it's physical location on the disk. And this works.
What also works is if I show a report first from the EXE code and then from the APP code.
What doesn't work is if I show a report first form the APP code (it shows as expected) and then from the EXE code later (I get a File not found error).
The solution would be to exclude ALL the reports from both projects and put them on the disk but that would be extremely impractical.
Does anyone have any ideas what could be causing this?
I have a problem with showing reports in Visual FoxPro.
My application consists of an .exe file which contains most of the code and an .app file that I run on start to add some more functionality accessible via a menu.
Each of these two files have reports included in them.
When I tried to show a report from the code in APP I got a File not found error. As a workaround I've excluded the report files from the APP project and placed it somewhere on the disk. So when I create a report I use it's physical location on the disk. And this works.
What also works is if I show a report first from the EXE code and then from the APP code.
What doesn't work is if I show a report first form the APP code (it shows as expected) and then from the EXE code later (I get a File not found error).
The solution would be to exclude ALL the reports from both projects and put them on the disk but that would be extremely impractical.
Does anyone have any ideas what could be causing this?