>>First turn AutoOpenTables in your DE to .F.
>>
>>Add this code like this to the Load() event of your form (you could put this in a class so you don't need to remember to put it in every form):
>
>Alternatively, I'm doing it from the .Dataenvironment.BeforeOpenTables, like this:
>
>oApp.SetDataEnv(this)
>dodefault()
>
>The second line is optional - there's no parent class code to execute, it's more a reminder that the default behavior will occur after this.
>
>I had to do this because of a funny bug...
What bug - ?
Are you sure that paths supplied by your oApp.SetDataEnv(this)
are correct?
I am using exactly the same strategy (without dodefault()) for more
then 3 years now, never gave me any problem! But if there is any real bug
I would like to know about.
Regards
Ps. Pozdrav Zrenjaninacima u dijaspori