M
Mike
Using Access XP.
I have a form that has a subform. The subform displays one column of a one
column table in datasheet view.
On the form I have a button to delete the current row on the subform.
Question 1: Is there an easy way to do this?
I currently am using a ado command to run a delete statement against the
data to delete the currently selected record. The problem I'm running into
is the record still displays in the subform. If I call the Requery method of
the subform immediately afterward, the record still displays. If I then move
to another record in the subform, the record that was deleted shows
"#deleted". If there is no easier method for deleting other than the one I'm
using then
Question 2: How can I get the display to refresh so the deleted record no
longer disappears.
TIA,.
Mike
I have a form that has a subform. The subform displays one column of a one
column table in datasheet view.
On the form I have a button to delete the current row on the subform.
Question 1: Is there an easy way to do this?
I currently am using a ado command to run a delete statement against the
data to delete the currently selected record. The problem I'm running into
is the record still displays in the subform. If I call the Requery method of
the subform immediately afterward, the record still displays. If I then move
to another record in the subform, the record that was deleted shows
"#deleted". If there is no easier method for deleting other than the one I'm
using then
Question 2: How can I get the display to refresh so the deleted record no
longer disappears.
TIA,.
Mike