View Complete Thread | FoxWeb Forum Home
Date:    Msg ID:   
From:    Thread:   
When I call a .fwx script via the IE address bar, a form action argument, or <a href=...>, the Foxpro default directory changes to the directory containing the script.  However, when I call the same script via Server.transfer(), the default directory does not change, and remains that of the calling script or program.  This poses problems when I wish to use relative pathing to call data, programs, reports, etc. from respective subfolders of the main program root folder.
* Does Fw_enter.prg still run when a script is called via Server.transfer()?
* How can I call a script using Server.transfer(), and still have the default folder change to that of the called script?
* Alternatively, how can I call a script from any folder (not via Server.transfer), but keep the program root as the default folder?