Using IIF ()Function to test value of option buttons

  • Thread starter Thread starter v.stopford
  • Start date Start date
V

v.stopford

I want to display a list box with data only if an associated option
button is checked. What is the syntax I should use, please?
 
Put the following code in the AfterUpdate event of the Checkbox:

Me!NameOfListBox.Visible = Me!NameOfOptionButton


--
PC Datasheet
A Resource for Access, Excel and Word Applications
(e-mail address removed)
www.pcdatasheet.com

· Design and basic development for new applications
· Additions, Modifications and "Fixes" for existing applications
· Mentoring for do-it-yourselfers who want guidance
· Complete application design and development
· Applications Using Palm Pilot To Collect Data And
Synchronize The Data Back To Access Or Excel
 
Back
Top