>>>Thanks,
>>> I didn't knew you should reset deleted for each form with a Private datasession.
>>
>>HELP SET DATASESSION will show you a host of SET commands that are affected by the current datasession.
>>
>>Do you need a basic explanation on how to automate this for multiple forms?
>>
>>Hilmar.
>
>I've put Set-code in load-event of my base-form before the code that's changing the database-path.
>Is this the right place ?
Yes, I think it is. Form.Init() would be too late, since many controls (including grids) will be instantiated
before Form.Init().
Another option (I think you got a reply in this sense) is methods in the DataEnvironment. I haven't done this.
I didn't know whether you knew inheritance (didn't know your skill level in VFP), but since you mention "base-form", it is quite clear that you do.
Regards, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)