msgbox " You are about to delete your entier harddrive do you want to do this?"
If you want to add a Yes / No button to the message box
do as follows
Dim intReply As Integer
Dim strSQL As String
intReply = MsgBox("Do You want to delete your hard drive?" vbQuestion + vbYesNo + vbDefaultButton2)
If intReply = vbYes Then
Docmd.........
Else
Docmd.......
Response = acDataErrContinue
End If
End Sub
as for the menus, yes Access has options to use its button menu, my advise is not to use it instead create a bmp graphic which loks good, paste it at the top of your page and create access buttons to lay on top of it, then use the options in properties to turn the button invisible.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.