PC Review


Reply
Thread Tools Rate Thread

Default to No

 
 
Bob
Guest
Posts: n/a
 
      23rd Jun 2006

How do I change the default to "No"

Dim nRtnValue As Integer
nRtnValue = MsgBox("Are you sure you want to Distrubte All Invoices ?",
vbCritical + vbYesNo, "Distribute all Invoices")
If nRtnValue = vbYes Then
DoCmd.Hourglass True

Thanks in advance.........Bob Vance


 
Reply With Quote
 
 
 
 
Rob Parker
Guest
Posts: n/a
 
      23rd Jun 2006
.... vbCritical + vbYesNo + vbDefaultButton2 ...

Rob

"Bob" <(E-Mail Removed)> wrote in message news:e7fjif$19c$(E-Mail Removed)...
>
> How do I change the default to "No"
>
> Dim nRtnValue As Integer
> nRtnValue = MsgBox("Are you sure you want to Distrubte All Invoices ?",
> vbCritical + vbYesNo, "Distribute all Invoices")
> If nRtnValue = vbYes Then
> DoCmd.Hourglass True
>
> Thanks in advance.........Bob Vance
>



 
Reply With Quote
 
Bob
Guest
Posts: n/a
 
      23rd Jun 2006
BRILLIANT Rob..........Thanks

"Rob Parker" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> ... vbCritical + vbYesNo + vbDefaultButton2 ...
>
> Rob
>
> "Bob" <(E-Mail Removed)> wrote in message news:e7fjif$19c$(E-Mail Removed)...
>>
>> How do I change the default to "No"
>>
>> Dim nRtnValue As Integer
>> nRtnValue = MsgBox("Are you sure you want to Distrubte All Invoices ?",
>> vbCritical + vbYesNo, "Distribute all Invoices")
>> If nRtnValue = vbYes Then
>> DoCmd.Hourglass True
>>
>> Thanks in advance.........Bob Vance
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Default Printer Won't Stay Default After Ending Windows Terminal Server Session awwhiskey81@yahoo.com Microsoft Windows 2000 Advanced Server 1 22nd Jan 2006 08:31 AM
How change lots of Windows default paths; how remove Wins default programs? 0-0 Wai Wai ^-^ Windows XP Setup 1 22nd Jul 2004 02:19 PM
Re: HKEY_USERS\.Default <versus> %WINDIR%\Documents and Settings\Default User\NTUSER.DAT Walter Schulz Microsoft Windows 2000 Registry 1 28th Jul 2003 09:49 AM
Re: HKEY_USERS\.Default <versus> %WINDIR%\Documents and Settings\Default User\NTUSER.DAT Walter Schulz Microsoft Windows 2000 Registry Archive 0 27th Jul 2003 04:41 PM
Re: HKEY_USERS\.Default <versus> %WINDIR%\Documents and Settings\Default User\NTUSER.DAT Dave Patrick Microsoft Windows 2000 Registry 0 27th Jul 2003 04:33 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:42 PM.