G
Guest
A2002, I have a subform (continuous form) with parent child link to main
form. I have a button on the subform to delete the selected subform record.
When user clicks button, it asks to confirm deletion (default access message,
not my doing).
PROBLEM is if user choses NO on the confirmation screen, the subform record
pointer moves to that record and that record is displayed on the top viewable
row. All records above it are there, but not visable on the screen. I can
alt+tab to scroll to them.
QUESTION: How can I get the subform to point to first record in the subform
after user clicks no on the delete confirmation? If user clicks yes, it
deletes the record fine and viewable records do not move.
'***** partial Code on the delete click
DoCmd.RunCommand acCmdDeleteRecord
Me.Refresh 'my attempt to fix this issue
Me.Repaint 'another attempt to fix
**** end of partial code
Any assistance you can provide is appreciated.
form. I have a button on the subform to delete the selected subform record.
When user clicks button, it asks to confirm deletion (default access message,
not my doing).
PROBLEM is if user choses NO on the confirmation screen, the subform record
pointer moves to that record and that record is displayed on the top viewable
row. All records above it are there, but not visable on the screen. I can
alt+tab to scroll to them.
QUESTION: How can I get the subform to point to first record in the subform
after user clicks no on the delete confirmation? If user clicks yes, it
deletes the record fine and viewable records do not move.
'***** partial Code on the delete click
DoCmd.RunCommand acCmdDeleteRecord
Me.Refresh 'my attempt to fix this issue
Me.Repaint 'another attempt to fix
**** end of partial code
Any assistance you can provide is appreciated.