Prev: teste
Next: Square after bullet
From: Boyd on 19 Feb 2010 14:16 I have a very simple DB; 2 tables with a simple input form for each and a few reports. The forms and reports run wonderfully. I'm trying to create a "Main Menu" form with command buttons that open the appropriate form, or run the appropriate report. I've used the Buttons Wizard to add buttons to the "blank" form, but when I click on those buttons in Form View, nothing happens. What am I doing wrong???
From: Jeanette Cunningham on 19 Feb 2010 14:25 Easy way is to create a blank new form in design view. Add the command buttons you need. Code for a button like this Private Sub Form1Button_Click DoCmd.OpenForm "[NameOfForm]" DoCmd.Close acForm, Me.Name End Sub Note: replace 'Form1Button' with the name of your command button replace 'NameOfForm' with the name of the form to be opened. Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia "Boyd" <Boyd(a)discussions.microsoft.com> wrote in message news:E7244FE4-2923-4E56-81C6-0A7DAA476EA7(a)microsoft.com... >I have a very simple DB; 2 tables with a simple input form for each and a >few > reports. The forms and reports run wonderfully. I'm trying to create a > "Main Menu" form with command buttons that open the appropriate form, or > run > the appropriate report. I've used the Buttons Wizard to add buttons to > the > "blank" form, but when I click on those buttons in Form View, nothing > happens. What am I doing wrong???
|
Pages: 1 Prev: teste Next: Square after bullet |