Hi,
(this might be easy but i'm just a begginer)
i have a form which has a subform in it where the user has to enter some data in both forms.
i added two buttons on the form one to save and the other to cancel.
my problem is i don't the proper code to cancel the data entered by the user.
i tried this code which i took from delete button wizzard:
but this only deletes the data from the table related to the main form and not the data of the table related to the subform.
thank you,
(note: If anyone could lead me to some good tutorial sites on Access because all the sites i have found have only some basic things.)
(this might be easy but i'm just a begginer)
i have a form which has a subform in it where the user has to enter some data in both forms.
i added two buttons on the form one to save and the other to cancel.
my problem is i don't the proper code to cancel the data entered by the user.
i tried this code which i took from delete button wizzard:
Code:
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70
but this only deletes the data from the table related to the main form and not the data of the table related to the subform.
thank you,
(note: If anyone could lead me to some good tutorial sites on Access because all the sites i have found have only some basic things.)