Forms

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a form which is opening in a mainform by clicking a command button:

Me.[dummyform].SourceObject = "offer"

Now I would like to close this "offer" form automatically with a doCmd. (but
only this "offer" form and not the main form.
Is that possible and if yes, how?
Thanks
Klaus
 
Try: DoCmd.Close "Offer" but that is difficult assuming you've place a empty
form which you fille by a sourceobject. In that case just reverse the action
by putting:

Me.[dummyform].SourceObject = ""

and then set the forms visibility property to no like

me.[dummyform].visible=false
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

opening a form 2
command code 5
Form question (continuation) 12
form still on task bar 1
Forms from two different .mbd files 1
Subform Requery Criteria 1
Butto command 1
Form printing 3

Back
Top