Hello all,
I use a delete button in a couple of forms. The basic delete code is the same in both.:
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70
But in one, it asks before hand, "You are about to delete 1 record(s). Do you want to continue?." The user can backout saying 'No'. But in the other, it does not give any warning and deletes right away.
Is it a setting of the rowsource table of these 2 different forms that makes the difference? I have been trying to see for any differences, but no breaththrough so far.
If you see what I do not , pl share it.
thanks very much indeed.
VC
I use a delete button in a couple of forms. The basic delete code is the same in both.:
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70
But in one, it asks before hand, "You are about to delete 1 record(s). Do you want to continue?." The user can backout saying 'No'. But in the other, it does not give any warning and deletes right away.
Is it a setting of the rowsource table of these 2 different forms that makes the difference? I have been trying to see for any differences, but no breaththrough so far.
If you see what I do not , pl share it.
thanks very much indeed.
VC