View Full Version : Multifaceted Button


LKE
05-07-2002, 08:34 AM
Hi...

I'm trying to figure out how to place a button on Form 1 that a.) saves and closes Form 1 and b.) opens Form 2 to a blank record. Any thoughts??

Thanks very much!

chrismcbride
05-07-2002, 08:40 AM
DoCmd.Close acForm, "frmOne", acSaveYes
DoCmd.OpenForm "frmTwo", , , , acFormAdd
HTH
Chris

Cosmos75
05-08-2002, 02:18 PM
How about a button on a Query-by-form that runs the query and automatically opens the associated Report (or one secified that is based on the QBF?