+ Reply to Thread
Results 1 to 4 of 4

Reference Radio Dial from Another Form

Hybrid View

  1. #1
    Registered User
    Join Date
    10-25-2011
    Location
    philly
    MS-Off Ver
    Excel 2003
    Posts
    16

    Reference Radio Dial from Another Form

    Hello All,

    I have a command button built into a form (we'll call it form2)

    What I need to do is have VB make a decision (If statement) upon clicking this command button, based on a true/false state of a radio dial within a separate form (we'll call it form1)

    How do I go about referencing the radio dial from within form2?

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Reference Radio Dial from Another Form

    You would reference it as form1.controlname.

    What's a "radio dial"? You mean an option button?
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    10-25-2011
    Location
    philly
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Reference Radio Dial from Another Form

    Yes, option button.

    So if I have an option button named OptionButtonStd within a form named ufrm8_OPTIONAL

    I would write: if ufrm8_OPTIONAL.OptionButtonStd = true then ..?

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Reference Radio Dial from Another Form

    Correct .

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1