Current location - Recipe Complete Network - Complete cookbook of home-style dishes - How vfp opens tables, forms, queries and menus with command codes
How vfp opens tables, forms, queries and menus with command codes
Instead of executing the "do menu file name. Mpx ",please follow the method to see if it is ok. 1. Create a new menu (if it already exists, you can open the menu directly).

2. Display-General Options-Select the top form.

3. If you create a new menu, you need to perform this step: menu-generate.

4. Create a new form (if it exists, you can open it directly).

5. Set the form properties "show window"-"2"-"2" as the top-level form. Double-click the form, "process"-"init ",and enter the" Do "menu name. MPR and this, T. "In the following dialog box.

6. "Form"-"execution form".

Use table name

Modify the form form name

Modify the view query name

Modify menu menu name