Hi Greg,
You will need to create your own Msgbox. Can't change the buttons they are
apart of VBA.
Here's how you can create one in Access:
- Create a Form that has the buttons you need
- Put whatever code you need behind the buttons
- Set the Form Properties "PopUp" and "Modal" equal to Yes
I hope this helps! If you have additional questions on this topic, please
respond back to this posting.
Regards,
Eric Butts
Microsoft Access Support
"Microsoft Security Announcement: Have you installed the patch for
Microsoft Security Bulletin MS03-026? If not Microsoft strongly advises
you to review the information at the following link regarding Microsoft
Security Bulletin MS03-026
<
http://www.microsoft.com/security/security_bulletins/ms03-026.asp> and/or
to visit Windows Update at <
http://windowsupdate.microsoft.com/> to install
the patch. Running the SCAN program from the Windows Update site will help
to insure you are current with all security patches, not just MS03-026."
--------------------
| Content-Class: urn:content-classes:message
| From: "Greg" <
[email protected]>
| Sender: "Greg" <
[email protected]>
| Subject: Define Button Text
| Date: Wed, 18 Feb 2004 11:57:12 -0800
| Lines: 6
| Message-ID: <
[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcP2WWaRfJAnVbx1T5G1ia3t+pGVoA==
| Newsgroups: microsoft.public.access.setupconfig
| Path: cpmsftngxa07.phx.gbl
| Xref: cpmsftngxa07.phx.gbl microsoft.public.access.setupconfig:29118
| NNTP-Posting-Host: tk2msftngxa11.phx.gbl 10.40.1.163
| X-Tomcat-NG: microsoft.public.access.setupconfig
|
| How can I control the text that shows up on a button from
| vb code? I am setting up a message box and do not want to
| use vbYesNo for the button text. I want to have two
| choices, Query or Report.
|
| Thanks
|