I have a form [frmMain] that displays a subform [subfrmData]
which in turn displays a set of records based on a query.
I have been trying to work out a way of Access selecting which ever record I decide to highlite using the record selectors and then Running ONE of a further set of two other querys (each is assigned to the on click event of a button) depending on which button I press.
I have designed the two querys [qry1] & [qry2] that are assigned to the button OK, but I can not get Access to pass ONLY the query I select with the record selectors to which ever query I want to pass it to.
Can anyone suggest a way of doing this?????? I have spent all weekend but have not even come close and the experts of this forum have kindly helped me out in the oast.
My grateful thanks in advance
Kenny green. [sig][/sig]
which in turn displays a set of records based on a query.
I have been trying to work out a way of Access selecting which ever record I decide to highlite using the record selectors and then Running ONE of a further set of two other querys (each is assigned to the on click event of a button) depending on which button I press.
I have designed the two querys [qry1] & [qry2] that are assigned to the button OK, but I can not get Access to pass ONLY the query I select with the record selectors to which ever query I want to pass it to.
Can anyone suggest a way of doing this?????? I have spent all weekend but have not even come close and the experts of this forum have kindly helped me out in the oast.
My grateful thanks in advance
Kenny green. [sig][/sig]