Command button in a from

Frodo

Registered User.
Local time
Today, 07:34
Joined
Mar 1, 2006
Messages
23
I have a form open

There is a command button on the form when it is pressed another form opens.

I cant find how to close that form as soon as it opens a new form.

So the button would work like this when it is pressed.

Open a new form(works)
Closes the form (need some help on this one)


Regards
Frodo
 
Uhm.... add me.close to your buttons code??!!
 
Mailman thanx for that..

but im trying to remember how to do it from the button properties like I have done few mounth ago ,,,, just cant remember.

:confused:
 
You cannot... you have to go into the VBA and add it.... :eek:
 
Ahhh found it

Just click the "Command button" place it on the form and choose "form operations category" and the "close form action"

Then hyperlink the button..

So it opens one form and closes another one..

This is done with the wizard on...
 
Last edited:

Users who are viewing this thread

Back
Top Bottom