Both code snippets should be working in both plain VFP and FoxWeb. Are you running FoxWeb as a service? If yes, make sure that the service user has rights on the \\myServer\Data1 share.
Sent by Larry Zhang on 01/30/2006 11:46:40 AM:
In VFP, we can use this:
But cDataPath is not recognized even within the same FW script.
How should I resolve this? cDataPath is a dynamically changing value. I cannot use: