gringope24
Member
- Local time
- Today, 11:01
- Joined
- Apr 1, 2020
- Messages
- 51
Hello Folks,
I have a parent form frmStatement. It has subform sfrmGeneral, which is placed in ControlTab.
In the header of frmStatement there is txtbox named txtDisplayMode. It receives values 0 or 1 from OpenArgs. This control is unbound.
For sfrmGeneral, on Form_Load event I cannot read the value of txtDisplayMode, because i am receiving error 94: Invalid use of Null.
I am testing it with simply macro, but receives error as mentioned above.
Does anyone have idea how to solve this?
I have a parent form frmStatement. It has subform sfrmGeneral, which is placed in ControlTab.
In the header of frmStatement there is txtbox named txtDisplayMode. It receives values 0 or 1 from OpenArgs. This control is unbound.
For sfrmGeneral, on Form_Load event I cannot read the value of txtDisplayMode, because i am receiving error 94: Invalid use of Null.
I am testing it with simply macro, but receives error as mentioned above.
Code:
MsgBox Me.Parent!txtDisplayMode
Does anyone have idea how to solve this?