LindaRichard
Programmer
I have an application where I set the table (activity) in the data environment of a form I then build a view (tmp_book) from it, and display the view in a grid control by setting the recordsource to tmp_book etc... Under developpemtn mode when the table is located on my C drive everything works fine.
When I compile the program as an exe and include a config.fpw in the start up directory to run a table on the V drive, the grid still wants to display the table from the C drive.
This is the content of my config.fpw
path=v:\isodata\logbook,sys(2023)
SORTWORK=SYS(2023)
When I check with sys(2019) it confirms that its reading the config.fpw on my start up directory (i.e. that has the exe program)
IF I also check with a set("path"
it confirms the v drive path.
So I have no idea why it keeps displaying the table content from the C drive.
In addition when I run the exe I get an update conflict error message when I
change rows in the grid. Which doesn't occur when I run it in developpement mode.
I used this approach with other programs. Develop on C(local) and copy the tables to V (server) and set the path using config.fpw.
The program was originally developed in VFP 6.0 and I am now using VFP 7.0.
Does anyone have any suggestions as to why this is not working.
Thanks Linda
When I compile the program as an exe and include a config.fpw in the start up directory to run a table on the V drive, the grid still wants to display the table from the C drive.
This is the content of my config.fpw
path=v:\isodata\logbook,sys(2023)
SORTWORK=SYS(2023)
When I check with sys(2019) it confirms that its reading the config.fpw on my start up directory (i.e. that has the exe program)
IF I also check with a set("path"
So I have no idea why it keeps displaying the table content from the C drive.
In addition when I run the exe I get an update conflict error message when I
change rows in the grid. Which doesn't occur when I run it in developpement mode.
I used this approach with other programs. Develop on C(local) and copy the tables to V (server) and set the path using config.fpw.
The program was originally developed in VFP 6.0 and I am now using VFP 7.0.
Does anyone have any suggestions as to why this is not working.
Thanks Linda