>>>Arg... I have been struggling with this one for a few days in VFP3. I am trying to reset the path to the database for each cursor in a form's dataenvironment.
>
>>I have this procedure called from the Load event
>
>I couldn't get it working VP3. I gave it a try in VFP6 and it worked fine. It looks like my first VP6 app will be rolling out the door sooner than expected. Thanks for your help.
It works OK since VFP3 days. The syntax can be even simplified:
Thisform.SetAll("Database",cDatabasePathName,"Cursor")
Probably, you have problems with tables themselves. Also, note that free tables should be set differently.
Edward Pikman
Independent Consultant