Make Option box invisible when adding a record

E

Emma

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!
 
R

roadie.girl

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?
 
K

Klatuu

Use the form's After Update event. When the current record is saved, it will
go invisible again.
 
E

Emma

I apologize if you think I was spamming the board, my other post was a
different question. But thank you for your answer.
 
Top