D
David Taylor
My Access app includes a form with the following bit of code in the load
event.
MsgBox "STUB 0", vbOKOnly
strWHERE = "[qryPreEval]!Evaluation_No = " &
Forms!frmcontractevaluation.Evaluation_No
DoCmd.OpenReport "rptEvaluations", acViewDesign, , , acHidden
MsgBox "STUB 1", vbOKOnly
This works fine in the mdb. But in the mde the second "MsgBox" never
executes. I would like to know what is causing this behaviour and how to
ensure that the mde executes the code that comes after the DoCmd.OpenReport
.... line.
Thanks in advance,
DT
event.
MsgBox "STUB 0", vbOKOnly
strWHERE = "[qryPreEval]!Evaluation_No = " &
Forms!frmcontractevaluation.Evaluation_No
DoCmd.OpenReport "rptEvaluations", acViewDesign, , , acHidden
MsgBox "STUB 1", vbOKOnly
This works fine in the mdb. But in the mde the second "MsgBox" never
executes. I would like to know what is causing this behaviour and how to
ensure that the mde executes the code that comes after the DoCmd.OpenReport
.... line.
Thanks in advance,
DT