Another approach would be to put the code in your base form class.
>>Never mind, it is working now. Thanks.
>
>******************************
>Good, but is it good enough?
>Here is the tip,
>Since putting some code in every form's DE.BeforeOpenTables can be
>cumbersome and most of all redundant, Try to create public object that has method which receives whole DE as parameter (object) and redirect it's cursors to propper path.
>Then you can call it issuing one line of code in DE;
>
>DE.BeforeOpenTables
>myObject.RedirectCursors(This)
>
>Regards