Hi
Just to add... an alternative would be to create a Data Environment class and instantiate it from the form's Load() event.
>My problem with VFP 5.0 is whenever I run a form without doing anything the tables and views in the database environment always disappears and I don't know why, did anybody here experience that?
>
>I'll wait for your reply, thanks