Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!
What this does in Access (which I usually trigger via a button or an event when the form loads) is make visible all the controls in the form that have "start" as part of the name of the control. Any control in the form that doesn't have "start" in the name will go invisible.
Dim this1 as control For each this1 in me.form If Instr(1,this1.name,"start")>0 then this1.visible=True else this1.visible=False End If Next
And I know I could nest some divs inside others to some of what I'm trying to do, but unfortunately I'm using the divs in a lot of different areas in the document's body. I am self-taught on Access quite well, but VB Script is still something I'm learning more of as I go along. Hopefully there's a similarity between the two when it comes to mass updating controls/elements because it would save me a lot of time writing out lines.
dim this1 For each this1 in document.body If instr(1,this1.id,"start")>0 then this1.style.visibility="visible" this1.style.display="block" else this1.style.visibility="hidden" this1.style.display="none" end if next
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.