Hi all,
I am just starting out on this path of VFP. I know the language from old but not the interface.
I am getting very frustrated with assigning paths during designtime of my first project.
I create a project and I want to test the various elements of the project as i go along rathert hen generating an app and running that all the time. I presume this is all common practice.
What is the suggested method for getting vfp to look in the right place for files? It creates this directory structure with the PROGS, FORMS, REPORTS, LIBS,.. but then insists on full paths for every blessed file call within a program!
At the moment i have a prg file in the vfp9 directory deep in my program files area in which i have a a number of set default to.... and set path to ... statements
So each time i strt foxpro i run this file and then i am ok most of the time. However, if i then just say, for example, 'open database XYZ' in some code I get 'C:\XYZ\XYZ.dbf does not exist. The file is in the \DATA subdirectory but it doesn't look there.
What is the accepted method for getting prepared for designtime coding with paths etc after creating a new project. There must be a better way - help, please.
Thanks,
I am just starting out on this path of VFP. I know the language from old but not the interface.
I am getting very frustrated with assigning paths during designtime of my first project.
I create a project and I want to test the various elements of the project as i go along rathert hen generating an app and running that all the time. I presume this is all common practice.
What is the suggested method for getting vfp to look in the right place for files? It creates this directory structure with the PROGS, FORMS, REPORTS, LIBS,.. but then insists on full paths for every blessed file call within a program!
At the moment i have a prg file in the vfp9 directory deep in my program files area in which i have a a number of set default to.... and set path to ... statements
So each time i strt foxpro i run this file and then i am ok most of the time. However, if i then just say, for example, 'open database XYZ' in some code I get 'C:\XYZ\XYZ.dbf does not exist. The file is in the \DATA subdirectory but it doesn't look there.
What is the accepted method for getting prepared for designtime coding with paths etc after creating a new project. There must be a better way - help, please.
Thanks,