M
Mike Thomas
In Access 2000, I have a form containing a subform. There is a button in
the main form which needs firstly to get the id of the selected record in
the subform.
Under certain conditions, it looks like no record is selected in the
subform, eventhough the first row does appear to be selected.
The error being returned is # 3021, "No Current Record".
I am trying to find a way to test for this condition in the button's click
event, but have not yet been successful with commands such as:
IF me.subformx.form.recordset.bof = true...
etc.
What is a reliable way to do this?
Many thanks
Mike Thomas
the main form which needs firstly to get the id of the selected record in
the subform.
Under certain conditions, it looks like no record is selected in the
subform, eventhough the first row does appear to be selected.
The error being returned is # 3021, "No Current Record".
I am trying to find a way to test for this condition in the button's click
event, but have not yet been successful with commands such as:
IF me.subformx.form.recordset.bof = true...
etc.
What is a reliable way to do this?
Many thanks
Mike Thomas