I have a Form having comboboxes and labels which show the corresponding records of a Table. The Form is meant to delete records of Table but when a record is deleted I can see #DELETED on the table cells which were deleted. Later, when I refresh the table manually by pressing F5, #DELETED on the cells are gone but what I want is that every time a record is deleted by clicking DELETE command button on the form, the table should be refreshed (as is done by pressing F5) automatically.
So, I am searching for the code to refresh a Table on Access using VBA (from Form). I did search on Google but none of the solutions were exactly matching my problem. Tried using
Expand|Select|Wrap|Line Numbers
- Me.Requery
Please help!
Thanks!
P.S. I am new on Access VBA! :)