JaredNJames
Registered User.
- Local time
- Today, 23:56
- Joined
- Jul 7, 2007
- Messages
- 87
Hi, im looking for a generic delete code to use with my systems.
Basically;
User presses command button,
Access asks whether they want to delete record (with a custom yes/no msgbox as opposed to the built in access one)?
then
if yes, record is deleted and a message saying "record deleted".
or
if no, delete action cancelled.
i do not want the default access messages to appear, but my own custom messages.
e.g. msgbox("Record Deleted"),vbinformation
i do not know how to use the yes/no msgbox so cannot even begin to attempt this code. and before anyone says it, searching these databases for the words like "delete" do not find anything like it.
any help appreciated,
jared james
Basically;
User presses command button,
Access asks whether they want to delete record (with a custom yes/no msgbox as opposed to the built in access one)?
then
if yes, record is deleted and a message saying "record deleted".
or
if no, delete action cancelled.
i do not want the default access messages to appear, but my own custom messages.
e.g. msgbox("Record Deleted"),vbinformation
i do not know how to use the yes/no msgbox so cannot even begin to attempt this code. and before anyone says it, searching these databases for the words like "delete" do not find anything like it.
any help appreciated,
jared james