>Fabio, this is not necessary I think. It should be sufficient to set correct
>paths to de cursor objects from DE.BeforeOpenTables() method and let
>OpenTables open them as per natural sequence.
>
>For Naomi;
>I don't think it is good idea to use 'set path to ...' in multiple dataset situation. It might work but (as you can see) it might cause the trouble.
>You should rather stick to your solution of setting/correcting table paths to DE.cursor properties (I suppose from de.BeforeOpenTables) and then let tables be open by DE.openTables
It was quite time consuming for us to walk through all code to see how can we fix the problem. We finally found a method LoadCursors, where we now set CursorSource based on _screen.ActiveForm.cImportPath (where the ActiveForm is the calling form at this point).
If it's not broken, fix it until it is.
My Blog