I have a Customers table containing all my Customers personal data and a Form frmCustomers for handling them. At the Form there's a listbox displaying all the Clients (fullnames) for quick access.
I delete the current record in my Form by calling the VB command
The problem is that after the record is being deleted it is still displayed in the list box.
I've tried adding
after the delete command but with no effect.
The only way to refresh the records is to manually select the Update option from the Records menu at the main Toolbar.
I even tried the calling from VB the above menu option
DoCmd.DoMenuItem acFormBar, acRecordsMenu, (don't remember the rest by heart)
which I suppose should have the same result with clicking to the menu but to my disappointment the list box keeps denying to reflect tha changes through VB.
Is this some kind of Access bug?
I delete the current record in my Form by calling the VB command
Code:
DoCmd.RunCommand acCmdDeleteRecord
The problem is that after the record is being deleted it is still displayed in the list box.
I've tried adding
Code:
Me.Requery
Me.Refresh
The only way to refresh the records is to manually select the Update option from the Records menu at the main Toolbar.
I even tried the calling from VB the above menu option
DoCmd.DoMenuItem acFormBar, acRecordsMenu, (don't remember the rest by heart)
which I suppose should have the same result with clicking to the menu but to my disappointment the list box keeps denying to reflect tha changes through VB.
Is this some kind of Access bug?