opening some forms at the same time

mana

Registered User.
Local time
Today, 08:26
Joined
Nov 4, 2014
Messages
265
Hello

i posted ths problem before but i coudn't solve it
can you help me please??
when i open a form and i want to open the other at the same time it is impossible.
i wrote the following code

Form_frm_Hauptmenü.Command226.Enabled = True

can you help me please??
i want to open the frm_Hauptmenü form's Command226 button (a form is assigned to this button)
when i want to press this button nothing will be done
can you help please?
 
Hello

i wrote the following code

Form_frm_Hauptmenü.Command226.Enabled = True
...
i want to open the frm_Hauptmenü form's Command226 button (a form is assigned to this button)

A form is not assigned to a button, a button has an OnClick event handler, there you can insert code to do something, such as open a specific form.

you can, if you wish, have other code call this Command226 event handler.

It should look like :
Code:
Private Sub Command226_OnClick ()
...
End Sub
 
you need to use docmd.openform
 

Users who are viewing this thread

Back
Top Bottom