A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Pop-up message



 
 
Thread Tools Display Modes
  #1  
Old April 28th, 2008, 02:35 AM posted to microsoft.public.access.forms
sj
external usenet poster
 
Posts: 85
Default Pop-up message

I am trying to design a questionnaire with Yes/No as answers (the answer
choices being radio buttons). If the wrong answer is selected, I want a
pop-up box come up with the explanation as to why the answer is wrong. If the
answer is correct, need to proceed to the next question.
Please help. THanks,
  #2  
Old April 28th, 2008, 04:45 AM posted to microsoft.public.access.forms
fredg
external usenet poster
 
Posts: 4,386
Default Pop-up message

On Sun, 27 Apr 2008 18:35:00 -0700, SJ wrote:

I am trying to design a questionnaire with Yes/No as answers (the answer
choices being radio buttons). If the wrong answer is selected, I want a
pop-up box come up with the explanation as to why the answer is wrong. If the
answer is correct, need to proceed to the next question.
Please help. THanks,


The radio buttons ar in an Option Group?
Is so, the option group gets it's value from the value of the selected
radio button.
So, if button #3 is the correct answer, code the OptionGroup's
AfterUpdate event:

If Me.OptionGroup = 3 Then
Else
MsgBox "Nope! Button 3 is the correct answer because ... etc."
End if
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:20 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.