>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()
>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