Information générale
Catégorie:
Codage, syntaxe et commandes
>I am trying to coordinate a menu with a formset containing a toolbar. The formset is named "Formset1" and the toolbar is "Browsbar1." I have tried puting "Formset1.Browsbar1.cmdnext.click" in the command option of Results in the Menu builder but it fails to find the Formset. I have also tried "_screen.activeform.Browsbar1.cmdnext.click." It does not work either. I think something is wrong with the syntax or hierarchy of my statement.
Just before this statement put SET STEP ON to bring up the debugger then you can check out your form object and find out what the really refreence or hierarchy is.
P.S. Instead to using the menu to click the command button why not make it actually fire the actual code that performs the work. Perhaps you have myform.movenext that you could fire (and that the toolbar button is calling).
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement