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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access Form -- Make Text Not Visible

Status
Not open for further replies.

ghcrazy8

MIS
Apr 17, 2006
20
US
I'm building an Access Form to use in helping me study for my quizzes at school. The text box with the answer I have hidden when the Form is first opened, and then when I hit the correct answer button, it displays the correct answer.

Problem: When I navigate to the next question (record) using a button, it still displays the correct answer. I think I can figure this out, but I need the VB code to navigate to the next record. Can anyone help with the code?



This is the code for the Next Question Button.

Private Sub NextQuestion_Click()


'need code for record navigation
Correct_Answer.Visible = False

End Sub


Thanks
 
I'd use the Current event procedure instead.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Thank you PHV for your response. Unfortunately, I'm still at a lose when you say Current event procedure. Is it possible for you to elaborate. Sorry in advance for the lack of understand.

 
I just found what you were talking about. Thank you very much for your help. In this way, I will not need the Next Question button at all.

Thanks agains.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top