G
Guest
I have a form with a subform in it. The subform has two button on it to add
or delete records. The add button has a little code in it to set up some
defaults. The delete button consists entirely of this code:
Private Sub DeleteRow_Click()
Me.Recordset.Delete
Me.Recordset.Update
Me.Refresh
End Sub
This code randomly causes the machine to "go away" and never return, only a
force quit will return control. There does not appear to be a hidden dialog
or anything like that. It seems to happen 100% of the time on certain
machines and never on others, but I'm not certain of that.
Any ideas?
Maury
or delete records. The add button has a little code in it to set up some
defaults. The delete button consists entirely of this code:
Private Sub DeleteRow_Click()
Me.Recordset.Delete
Me.Recordset.Update
Me.Refresh
End Sub
This code randomly causes the machine to "go away" and never return, only a
force quit will return control. There does not appear to be a hidden dialog
or anything like that. It seems to happen 100% of the time on certain
machines and never on others, but I'm not certain of that.
Any ideas?
Maury