Zum Hauptinhalt gehen

Suche

Suche

How do I reference the value of a dropdown list control ?

Kommentare

1 Kommentar

  • Avatar
    Christopher Dietz

    Try this:

    Set a = Format.objects("DL_Name")

    Then use the "A" variable like this:

    A.value

     

    ______________________________________________________________

    function NameToModel()

    dim a

    Set a = Format.Objects("DL_Name")

    Select Case a.value
    Case a.value="pen"
        b="P10"
    Case a.value="rubber"
        b="R12"
    NameToModel=b
    End Select
    end function

    ______________________________________

    Seems pretty sad that many posts go un-answered.

    I hope this works.

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.