View Single Post
  #2  
Old November 14th, 2004, 01:59 AM
Phil
external usenet poster
 
Posts: n/a
Default

Simply create a form using form wizard
1) select button from toolbar
2) You will be able view command as openform
3) select form that need to be opened

However, while view code:
Be sure insert DoCmd.Close before DoCmd.OpenForm

That will close main form and will open other form.

I'm still not sure why would do that.
Most program's preferences is to keep main form open.

Anyways I hope that help!
Phil

"DaveC271" wrote in message
...
Hi can somebody tell me how I can create a button in a form that will open
another and close the form in which the button was pressed. Similar to

the
reguler next screen button you find in most software?