A
Al Camp
I'd like to Call a Public Sub from another form.
From form frmLoomSchedule I'd want to invoke a Public Sub called
Public Sub RequerySubform()
that exists in the module of a subform...
Forms!frmOrderEntry!frmOrdersLoomScheduleSub
which is open at the time, and the path is correct.
I've tried...
Call Forms!frmOrderEntry!frmOrdersLoomScheduleSub.RequerySubform
(yields "(" expected intellisense error)
Forms!frmOrderEntry!frmOrdersLoomScheduleSub.RequerySubform
(yields "can't find the object frmOrdersLoomScheduleSub...)
Forms!frmOrderEntry!frmOrdersLoomScheduleSub.Form.RequerySubform
(yields "can't find the object frmOrdersLoomScheduleSub...)
Forms("frmOrderEntry!frmOrdersLoomScheduleSub").RequerySubform
I found many hits on this in Google Access newsgroups, but they all seem to
indicate that one or more of these formats should work.
What's wrong with my syntax. Thanks for any help.
Al Camp
From form frmLoomSchedule I'd want to invoke a Public Sub called
Public Sub RequerySubform()
that exists in the module of a subform...
Forms!frmOrderEntry!frmOrdersLoomScheduleSub
which is open at the time, and the path is correct.
I've tried...
Call Forms!frmOrderEntry!frmOrdersLoomScheduleSub.RequerySubform
(yields "(" expected intellisense error)
Forms!frmOrderEntry!frmOrdersLoomScheduleSub.RequerySubform
(yields "can't find the object frmOrdersLoomScheduleSub...)
Forms!frmOrderEntry!frmOrdersLoomScheduleSub.Form.RequerySubform
(yields "can't find the object frmOrdersLoomScheduleSub...)
Forms("frmOrderEntry!frmOrdersLoomScheduleSub").RequerySubform
I found many hits on this in Google Access newsgroups, but they all seem to
indicate that one or more of these formats should work.
What's wrong with my syntax. Thanks for any help.
Al Camp