I have a acces Form in which you can select a User with a dropdown Then i have a subform with all the licenses of that user. The licenses can be removed from that user with a button. After a license has ben removed i want to refresh the form, so that it actually disapears.
I think the Form_Dirty Event is the right one to trigger the refresh. I tried:
Private Sub Form_Dirty(Cancel As Integer)
MsgBox "deleted a license"
End Sub
and the box shows up on every deletion. so i know that event fires. perfect. Buuuut whatever refresh command i put into that function it doesnt refresh. I tried:
Me.requery
Me.Recalc
Me.refresh
Forms.user.Form.requery
Forms.user.licenses.Form.requery
it just stays the same. If i press F5 then it refreshes. How can that be?
Me.Requery
after the update of inactive flag at end of button. - ComputerVersteher