Upon login, I copy the CFG file from the main server at F: drive to my local C: drive.
Copy File "F:\sys\billing.cfg" To Sys(2003)+"\billing.cfg"
In my form, I use the cfg file for my grid table.
At Load event: USE SYS(2003)+'\billing.cfg' ALIAS bill Shared
Then I modify my data through the grid and when I close the form, I want to apply the changes to the main server too because every time I login, the changes will be overwritten.
I tried to put these codes on my Close button:
Copy File Sys(2003)+"\billing.cfg" to "F:\sys\billing.cfg"
but it says File is in use.
I tried the alias: Copy File bill to "F:\sys\billing.cfg"
Still with error: bill.cfg does not exist.
I don't know how to copy my changes from my local folder to the main server at F: drive.
- webrider -
Copy File "F:\sys\billing.cfg" To Sys(2003)+"\billing.cfg"
In my form, I use the cfg file for my grid table.
At Load event: USE SYS(2003)+'\billing.cfg' ALIAS bill Shared
Then I modify my data through the grid and when I close the form, I want to apply the changes to the main server too because every time I login, the changes will be overwritten.
I tried to put these codes on my Close button:
Copy File Sys(2003)+"\billing.cfg" to "F:\sys\billing.cfg"
but it says File is in use.
I tried the alias: Copy File bill to "F:\sys\billing.cfg"
Still with error: bill.cfg does not exist.
I don't know how to copy my changes from my local folder to the main server at F: drive.
- webrider -