Date:  01/30/2006 11:46:40 AM Msg ID:  002833
From:  Larry Zhang Thread:  002833
Subject:  How to pass variable to a new form.
In VFP, we can use this:
 

cDataPath="\\myServer\Data1\"

Select * from cDataPath + "myTable.dbf";

    into Cursor Temp

 
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:
 

Select * from \\myServer\Data1\myTable.dbf ;

    into Cursor Temp

 
Thank you.