Refer to block item using string

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Nick

    Refer to block item using string

    I have a form that has several check boxes defaulting to checked.
    When the form loads, I have a cursor looping through a table that
    stores the name of the check boxes that need to be unchecked. The
    cursor will return the item's name into a varchar2 variable. I need
    to know now how to use that varchar2 variable to refer to the
    corresponding check box item and uncheck it. I have done something
    similiar in VB but have not found a way to do this in pl sql.

    Thank you in advance.

    Nick
  • mcstock

    #2
    Re: Refer to block item using string

    you probably need to use the copy function or the set_*_property function

    as i recall it's something like this:

    copy( 'a value', 'an item name');

    set_checkbox_pr operty( 'cb item name', 'properry name', 'value')

    againg, i'm going by memory -- it's been over a year so i may not quite have
    the syntax just right


    --
    ----------------------------------------
    Mark C. Stock

    (888) 512-2048

    "Nick" <nickrene@hotma il.comwrote in message
    news:2ed86964.0 310271400.a6d6b 1b@posting.goog le.com...
    I have a form that has several check boxes defaulting to checked.
    When the form loads, I have a cursor looping through a table that
    stores the name of the check boxes that need to be unchecked. The
    cursor will return the item's name into a varchar2 variable. I need
    to know now how to use that varchar2 variable to refer to the
    corresponding check box item and uncheck it. I have done something
    similiar in VB but have not found a way to do this in pl sql.
    >
    Thank you in advance.
    >
    Nick

    Comment

    • Nick

      #3
      set_item_proper ty for initial value

      ok this gives me an idea. i can use the set_item_proper ty built in
      function to modify the initial value. but i can not seem to find the
      correct property name for initial value. anyone know it?

      thanks

      "mcstock" <mcstock@enquer y.comwrote in message news:<kL2dnamXF sfjbgCiRVn-hg@comcast.com> ...
      you probably need to use the copy function or the set_*_property function
      >
      as i recall it's something like this:
      >
      copy( 'a value', 'an item name');
      >
      set_checkbox_pr operty( 'cb item name', 'properry name', 'value')
      >
      againg, i'm going by memory -- it's been over a year so i may not quite have
      the syntax just right
      >
      >
      --
      ----------------------------------------
      Mark C. Stock

      (888) 512-2048
      >
      "Nick" <nickrene@hotma il.comwrote in message
      news:2ed86964.0 310271400.a6d6b 1b@posting.goog le.com...
      I have a form that has several check boxes defaulting to checked.
      When the form loads, I have a cursor looping through a table that
      stores the name of the check boxes that need to be unchecked. The
      cursor will return the item's name into a varchar2 variable. I need
      to know now how to use that varchar2 variable to refer to the
      corresponding check box item and uncheck it. I have done something
      similiar in VB but have not found a way to do this in pl sql.

      Thank you in advance.

      Nick

      Comment

      • mcstock

        #4
        Re: set_item_proper ty for initial value

        check the on-line help under SET_ITEM_PROPER TY for the list of available
        properties

        "Nick" <nickrene@hotma il.comwrote in message
        news:2ed86964.0 310281136.382e0 941@posting.goo gle.com...
        ok this gives me an idea. i can use the set_item_proper ty built in
        function to modify the initial value. but i can not seem to find the
        correct property name for initial value. anyone know it?
        >
        thanks
        >
        "mcstock" <mcstock@enquer y.comwrote in message
        news:<kL2dnamXF sfjbgCiRVn-hg@comcast.com> ...
        you probably need to use the copy function or the set_*_property
        function

        as i recall it's something like this:

        copy( 'a value', 'an item name');

        set_checkbox_pr operty( 'cb item name', 'properry name', 'value')

        againg, i'm going by memory -- it's been over a year so i may not quite
        have
        the syntax just right


        --
        ----------------------------------------
        Mark C. Stock

        (888) 512-2048

        "Nick" <nickrene@hotma il.comwrote in message
        news:2ed86964.0 310271400.a6d6b 1b@posting.goog le.com...
        I have a form that has several check boxes defaulting to checked.
        When the form loads, I have a cursor looping through a table that
        stores the name of the check boxes that need to be unchecked. The
        cursor will return the item's name into a varchar2 variable. I need
        to know now how to use that varchar2 variable to refer to the
        corresponding check box item and uncheck it. I have done something
        similiar in VB but have not found a way to do this in pl sql.
        >
        Thank you in advance.
        >
        Nick

        Comment

        Working...