Hi,
I have something that I have never seen before. I open a second form to which I pass an openargs argument. The code from form A =
StrMW is the openargs argument I pass on.
In the form load event on form B the following code is put
Now the code works as to showing the information I want. It loads the list with relevant data. But somehow the code keeps running and only stops after form B is closed. And this is a tiny problem because there are some functions on Form B which now do not work.
Maybe someone here can help me.
Greetings Allard
I have something that I have never seen before. I open a second form to which I pass an openargs argument. The code from form A =
Code:
oCmd.OpenForm "FrmPlanningPerMW", acNormal, , , acFormReadOnly, acDialog, StrMw
StrMW is the openargs argument I pass on.
In the form load event on form B the following code is put
Code:
Private Sub Form_Load()
Me.tbMW = Me.OpenArgs
lstPlanning_requery
End Sub
Now the code works as to showing the information I want. It loads the list with relevant data. But somehow the code keeps running and only stops after form B is closed. And this is a tiny problem because there are some functions on Form B which now do not work.
Maybe someone here can help me.
Greetings Allard