I think I might have found a cause of my problem. The sub form is a continuous form, and rather than adding new records by scrolling to the bottommost record, I came with the idea to fill in the data in the form footer.
Apparently, when there are no records to be shown and someone is trying to add data via the form footer, that error appears.
I discovered that setting 'Allow additions' to true makes the error disappear.
User Profile
Collapse
-
Runtime error 2185 bug?
I have a sub form which contains amongst other things 4 textboxes and a disabled button.
My goal is that when all 4 text boxes are filled, the button enables, and if one text box is empty, it immediately disables. My method for doing this was as follows:
...Code:Private Sub c1_Change() cmdNew.Enabled = Not (IsNull(c2.Value) Or IsNull(c3.Value) Or IsNull(c4.Value) Or c1.Text = "") End Sub <same for the other
No activity results to display
Show More
Leave a comment: