RE: For Each Statement

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I have about 35 option buttons. Is there a way to write a For Each Statement
that would keep me from having to list all of the names of the buttons?

-Chris

"Ofer" wrote:

> Try this
> me.OptionButton1Name=0
> me.OptionButton2Name=0
> me.OptionButton3Name=0
>
> If the option button are in a group, then assign the value to the group, but
> dont put a 0 value in the OptionValue of any of the buttons in that group.
>
> "Chris" wrote:
>
> > I need to reset all of my option buttons on a form to FALSE, when the user
> > clicks a button. I cannot find the syntax for this anywhere. Can you please
> > give me an example.
> >
> > Thanks for your help,
> >
> > -Chris
> >
.



Relevant Pages

  • RE: For Each Statement
    ... dont put a 0 value in the OptionValue of any of the buttons in that group. ... > I need to reset all of my option buttons on a form to FALSE, ... I cannot find the syntax for this anywhere. ... Prev by Date: ...
    (microsoft.public.access.modulesdaovba)
  • Re: Reading data from a file using Ant
    ... There dont seem to be any syntax that shows how i can retrieve a value. ... Prev by Date: ...
    (comp.lang.java.programmer)
  • Re: needed!!!!!!!!!!!!!!!!!! DSP syntax
    ... > dont need the algo but the actual syntax that you can run on the ... > mail me if u have the syntax... ... Prev by Date: ...
    (comp.soft-sys.matlab)
  • RE: how to use a VLOOKUP function in a VBA code?
    ... u send me the syntax regarding my req.Thanks in advance ... > in the second column.for that i can use VLOOKUP function.but i dont know how ... > With Regds ... Prev by Date: ...
    (microsoft.public.excel.newusers)
  • Re: Maybe something to vote for...
    ... IMO, if the syntax can't handle everything in a coherent fashion, then ... You dont have to ... overwrite a variable. ... the pointer also. ...
    (borland.public.delphi.non-technical)