Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Delete Code
Message
 
À
23/09/2001 16:31:22
Information générale
Forum:
Microsoft Office
Catégorie:
Access
Titre:
Divers
Thread ID:
00559800
Message ID:
00561134
Vues:
37
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform