>set defa to path problem
>In my current system 's start program , set defa to U:\abc\system\
>Now, can i change into set defa to \\mynewserver\system\ ??
>
>More, in my report command
>report form U:\abc\system\report\account.frx
>when I change into \\mynewserver\system\abc\...... <-- it seems invalid
You should change the paths in your code (i.e. paths to reports etc) to be relative. That's what VFP does internally, anyway - all paths inside the .pjx, for example, are relative.
A VFP app should work off an UNC just the same as off a mapped or local drive. There was a problem in VFP6 up to SP3, where the exe couldn't find itself when run from an UNC path (i.e. it would load the runtime and then the runtime couldn't find the exe), but that was fixed in SP4.
Also, when putting paths in code, put them in quotes - the quotes can be omitted if there are no spaces in the path, but it's generally a good habit to put them anyway. Even better, if you keep the paths in variables, it's best to use name expressions:
lcFrx=fullpath("my reports\firs report.frx")
report form (lcFrx)