T
Tony_VBACoder
With Access 2002 SP1, I have the following code in
my "Delete Record" Command Button on my form"
*********************************************************
DoCmd.SetWarnings False
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70
DoCmd.SetWarnings True
*********************************************************
I took this code from the Command Button wizard to Delete
a Record.
Can anyone tell me why even though I turned off my
Warnings (SetWarnings False), I am still receiving the
prompt below, that Warns me about deleting this record?
"Relationships that specify cascading deletes are about to
cause 1 record(s) in this table and in related tables to
be deleted. Are you srue you want to delete these
records?"
my "Delete Record" Command Button on my form"
*********************************************************
DoCmd.SetWarnings False
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70
DoCmd.SetWarnings True
*********************************************************
I took this code from the Command Button wizard to Delete
a Record.
Can anyone tell me why even though I turned off my
Warnings (SetWarnings False), I am still receiving the
prompt below, that Warns me about deleting this record?
"Relationships that specify cascading deletes are about to
cause 1 record(s) in this table and in related tables to
be deleted. Are you srue you want to delete these
records?"