>I have a form with 3 free tables in the "c:\program1" (cursor1, cursor2,
>cursor3 in dataenvironment) but
>when I copy to other computer and install in other folder
>"c:\program2" he continues doing references the folder "c:\program1"
What I do is something similar to the following for tables in a database but I guess that it should work for free tables.
In the forms DataEnvironment add code to the BeforeOpenTables method. This can either explicitly code to the new location with something like:
this.TableName.CursorSource = ForcePath(this.TableName.CursorSource, lcNewDirectory)
or you can loop through the DataEnvironment changing each table accordingly.
HTH
Caroline