Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

alert box? Confirmation box? or MsgBox?

Status
Not open for further replies.

Twig

MIS
Sep 24, 2002
4
US
I have a situation here that I don't know which boxes can help me. I have read the documents regarding these boxes but it seems none of them satisfy my requirement.

My problem is I need an alert box or message box (or whatever popup box that would satisfy my requirement) that will prompt the user to make a selection.
I only need 2 buttons! Each button will prompt user to a different report!

Please help me, if anyone have any suggestions.

Thanks
 
You can't use the MsgBox Function for that purpose because the text in the buttons can only be set to Ok, Cancel, Abort, Retry, Ignore, Yes, and No. It is simple enough to create a small dialog box that contains two buttons. You would open the appropriate report in the On Click event of each button. Use DoCmd.OpenForm formname,,,,, acDialog to open the form. The acDialog option opens the form as a popup style and suspends the code in the calling form until the user closes the popup form. dz
dzaccess@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top