Why Form Auto Close After Event ?

  • Thread starter edisonl via AccessMonster.com
  • Start date
E

edisonl via AccessMonster.com

Hi,

I have an application that a use main_form trigger seond_form.
After completion of transaction, my coding explicitly docmd.close on
second_form,
and main_form docmd.maximize

This works for most of other pc around except this particualr one that close
the main form and let second_form remain.

By the way, when second_form fire off as pop_up and non modal. so main_form
still visible at the back.

Regards & God Bless, Edison
 
C

Chris Freeman

Edison,
You can try a couple of different things here:
1. Are you using the full DoCmd line of Docmd.close acForm "SecondFormName"?
2. You may want to place the DoCmd.Open acForm "MainFormName", then do a
Close "SecondFromName"
3. If you still have problems, insert a DoCmd.SelectObject to select the
form then the DoCmd.Close code
 
E

edisonl via AccessMonster.com

Hi Chris,

I use the docmd.close command only..

Regards & God Bless, Edison

Chris said:
Edison,
You can try a couple of different things here:
1. Are you using the full DoCmd line of Docmd.close acForm "SecondFormName"?
2. You may want to place the DoCmd.Open acForm "MainFormName", then do a
Close "SecondFromName"
3. If you still have problems, insert a DoCmd.SelectObject to select the
form then the DoCmd.Close code
[quoted text clipped - 10 lines]
Regards & God Bless, Edison
 

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

Top