Victor,
Right click on DE window, select Code and you'll have access to all DE events and methods. Put code you want in any of them as you would with form's events/methods. You don't have to call BeforeOpenTables event because it fires right before any tables/views get open.
>"You should do this in DE BeforeOpenTables Event."
>
>I can't find such an event for the DE.
>I'm using vfpr 6.0
>
>Found some things about this event but didn't help.
>
>I'm afraid I need a little bit more on this. :-(
>
>found in mdsn:
>"PROCEDURE DataEnvironment.BeforeOpenTables"
>Does this mean I have to write a procedure for this event???
>If so: in what event of the form do I call this procedure???
>
>vic
--sb--