Hi, another question about subform event not firing as expected.
Using Access 2013.
I have a dialog type main form with 2 subforms, each with a datasheet with one-to-many relation from the main form (one record for editing). Main and subforms are at one tab each.
My problem is that when rightclicking left of the first column in subform, taking ”Delete record” from the built-in shortcut, the Delete event is sometimes not firing. This happens mostly when form opens but might get to right behaviour later when navigating in the form (no design changes in between). Both subforms act right/wrong simultaniously.
My observation is that the delete confirm dialog looks different with/without executed delete event. When event was executed the dialog shows info how many records that are to de deleted. Without event it only says ” ..one ore more..” ( my translation to english).
Since there are no code between shortcut menu action and the delete event I suppose some kind of internal status is different at times.
Anyone experienced similar problems? Thanks!
Using Access 2013.
I have a dialog type main form with 2 subforms, each with a datasheet with one-to-many relation from the main form (one record for editing). Main and subforms are at one tab each.
My problem is that when rightclicking left of the first column in subform, taking ”Delete record” from the built-in shortcut, the Delete event is sometimes not firing. This happens mostly when form opens but might get to right behaviour later when navigating in the form (no design changes in between). Both subforms act right/wrong simultaniously.
My observation is that the delete confirm dialog looks different with/without executed delete event. When event was executed the dialog shows info how many records that are to de deleted. Without event it only says ” ..one ore more..” ( my translation to english).
Since there are no code between shortcut menu action and the delete event I suppose some kind of internal status is different at times.
Anyone experienced similar problems? Thanks!
Last edited: