Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error in Building Menu in VFP Menu Editor
Message
 
 
À
19/04/2010 16:46:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01460987
Message ID:
01460990
Vues:
82
This message has been marked as the solution to the initial question of the thread.
>I am getting an error "Too few arguments" when trying to build a menu from the standard VFP menu designer. The error is at the following code in the GenMenu.prg:
>
>
>FUNCTION buildenable
>PRIVATE m.stat, m.stat2
>
>m.stat = opendb(g_mnxfile[1]) AND openfile()                       && <<== ERROR OCCURRING HERE
>IF m.stat
>   SET TEXTMERGE ON
>ENDIF
>RETURN m.stat
>
>
>I have placed a SET STEP ON in the code and verified that the g_mnxfile[1] has the name of the menu file with the full path. I am at a loss of what is causing this error...

Is it possible that you have your own OpenDB or OpenFile functions? Just checking. Try to do CLEAR ALL before generating the menu.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform