General information
Category:
Coding, syntax & commands
Title:
Changing Directories
I have a prg that calls a form in
G:\psi12.0\custom
Before running the report form I want to change the
directory back to g:\psi12.0
Once there I want to call the report form in the G:\psi12.0\custom
folder then after the report is run set it back to the G:\psi12.0\custom
so I want to back the folder up to ".."
and then call the report form "\custom\report.frx"
then set default back to: SYS(5)+SYS(2003)+"\custom"
The problem is I don't know the correct syntax to back the directory up one
and the call there report in the current folder + custom
I am running this in a application that I did not create and it has a menu list that allows for custom reports. When I run a report to preview the app needs to verify a time and date stamp on a file in g:\psi12.0\system folder. If a user keeps the preview open for a while they get and error "can not verify time and date stamp on \system\bdefault.dbf.
If I call the report from the folder one back from \custom I believe this
error will go away as the app will be in it's root folder and able to find the
system folder from there
Any help would be greatly appreciated
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only