A
Alain
hello everyone
I am migrating an MDB application to an ADP an I can't open correctly my
Main form
From my SwitchBoard when I click on the Button in charge of opening my main
form,
I execute the following line:
DoCmd.OpenForm RS![MyMainForm]
from this line my ADP Code is not running the same way than the MDB Code
In my MDB application the next executed lines are :
In Sub-form 1 ---> On Event : Form_Current
In Sub-Form2 ---> On Event : Form_Open
etc .. the execution goes alternatively to the Events: Form_Open et
Form_Current of every Sun-forms included in MyMainForm
Then I run the following line in MyMainForm
--> On Event : Form_Open (Where I run a request ..)
In my ADP Code after the
DoCmd.OpenForm RS![MyMainForm]
I directly run the code --> On Event : Form_Open in MyMainForm
Every Sub-Form are "ignored" by jumping directly to the MyMainForm Code.
I can't find what is missing or wrong ...
any help wil be welcome ...
best regards
Alain
I am migrating an MDB application to an ADP an I can't open correctly my
Main form
From my SwitchBoard when I click on the Button in charge of opening my main
form,
I execute the following line:
DoCmd.OpenForm RS![MyMainForm]
from this line my ADP Code is not running the same way than the MDB Code
In my MDB application the next executed lines are :
In Sub-form 1 ---> On Event : Form_Current
In Sub-Form2 ---> On Event : Form_Open
etc .. the execution goes alternatively to the Events: Form_Open et
Form_Current of every Sun-forms included in MyMainForm
Then I run the following line in MyMainForm
--> On Event : Form_Open (Where I run a request ..)
In my ADP Code after the
DoCmd.OpenForm RS![MyMainForm]
I directly run the code --> On Event : Form_Open in MyMainForm
Every Sub-Form are "ignored" by jumping directly to the MyMainForm Code.
I can't find what is missing or wrong ...
any help wil be welcome ...
best regards
Alain