S
Simon Harris
Hi All,
I have two subforms on a form, the source object for each is two seperate
forms.
The forms display data in datasheet view.
The data displayed in subform B is related to data in subform A (For each
record in A there are potentially many records in B)
Data in form B is driven from a query, which as the following criteria under
the relevent column:
[Forms]![frm_add_amend_order]![SUBFRM_Supplier_Orders]![ID]
I know this is getting a value, because I get a value back when I MsgBox
this (Using the same onclick event)
I want my user to be able to select a record in subform A by clicking on the
record selector on the left, which will then display all related records in
subform B.
I have set an onclick event on the form of subform A, with the following
code:
Me.Parent![SUBFRM_Parts_Orders_Items].Requery
This doesn't seem to do much.
Anyone got any suggestions?
Many thanks for reading!
Simon.
--
-
* Please reply to group for the benefit of all
* Found the answer to your own question? Post it!
* Get a useful reply to one of your posts?...post an answer to another one
* Search first, post later : http://www.google.co.uk/groups
* Want my email address? Ask me in a post...Cos2MuchSpamMakesUFat!
I have two subforms on a form, the source object for each is two seperate
forms.
The forms display data in datasheet view.
The data displayed in subform B is related to data in subform A (For each
record in A there are potentially many records in B)
Data in form B is driven from a query, which as the following criteria under
the relevent column:
[Forms]![frm_add_amend_order]![SUBFRM_Supplier_Orders]![ID]
I know this is getting a value, because I get a value back when I MsgBox
this (Using the same onclick event)
I want my user to be able to select a record in subform A by clicking on the
record selector on the left, which will then display all related records in
subform B.
I have set an onclick event on the form of subform A, with the following
code:
Me.Parent![SUBFRM_Parts_Orders_Items].Requery
This doesn't seem to do much.
Anyone got any suggestions?
Many thanks for reading!
Simon.
--
-
* Please reply to group for the benefit of all
* Found the answer to your own question? Post it!
* Get a useful reply to one of your posts?...post an answer to another one
* Search first, post later : http://www.google.co.uk/groups
* Want my email address? Ask me in a post...Cos2MuchSpamMakesUFat!