Make Option box invisible when adding a record

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have an option frame on a form that is invisible on open, but when a
particular option is selected it appears. When the user goes to add another
record, I need the option frame to disappear again. I can't find an event to
handle this? Or do I need to put the codes somewhere else? Any suggestions
would be greatly appreciated.

Thank you!
 
lol you don't have to spam the board to get an answer ...

" When the user goes to add another
record, I need the option frame to disappear again. "

that is vague to me ...
but for the first part of your question just have the
Form OnLoad()
optionbox1.visible = False
EndSub

myOptionSelected_OnClick()
Select Case True
myOptionSelected
optionbox1.visible = True
End Select
End Sub

Form_OnClose()
optionbox1.visible = false
end sub

this help any?
 
Use the form's After Update event. When the current record is saved, it will
go invisible again.
 
I apologize if you think I was spamming the board, my other post was a
different question. But thank you for your answer.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top