Check to make sure AutoOpenTables = .T. in your dataevironment properties.
>I created a form using the form wizard and ir runs perfectly.
>I then created a menu that also seems to run well, that selects the above mentioned form. But when I run the menu through a prg I get an error stating there is no file open and VFP 5.0 displays and open file dialog box.
>Do I need to explicitly open the tables and set the index relations or does the form open them automatically when it runs?
>I rechecked the data environment and the tables are still there.
>Thanks for any suggestions.
>Steve
kenweber
GCom2 Solutions
Microsoft Certified Professional