Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delete Code
Message
 
To
23/09/2001 16:31:22
General information
Forum:
Microsoft Office
Category:
Access
Title:
Miscellaneous
Thread ID:
00559800
Message ID:
00561134
Views:
36
Hi,
if msgbox("Are you sure?",vbCritical+vbYesNo,"Delete")=vbYes
    ' your code goes here
endif
HTH

>I have put a delete button on a formm which adds the code,
> DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
> DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70
>I would like to add some code if the user responds yes to the delete. How can I tell if the user has responded yes to no?
>
>Judy Scofield
Igor Gelin
Database Developer
Previous
Reply
Map
View

Click here to load this message in the networking platform