Hi there
I have below code to delete the current records which should be deleted on delete button, but somehow it is not being deleted. however it is not giving any error as well.
Please let me know what is wrong, the form data is being populated based no query like name, telephone number and classroom data.
This is access 2016.
I have below code to delete the current records which should be deleted on delete button, but somehow it is not being deleted. however it is not giving any error as well.
Please let me know what is wrong, the form data is being populated based no query like name, telephone number and classroom data.
This is access 2016.
Code:
DoCmd.SetWarnings False
DoCmd.RunCommand acCmdDeleteRecord
cboGoToContact.Requery