• Combo (A2000)

    Author
    Topic
    #372485

    I have a combo on a form which is a look-up.
    I want this combo to dropdown if it contains no data.
    eg

    On Got Focus
    If isnull then me.combo?.dropdown
    Else
    Dont Dropdown.

    I’m sure some-one knows how to do this.

    Thanks in advance
    Dave

    Viewing 0 reply threads
    Author
    Replies
    • #595666

      You’re almost there:

      Private Sub cboSomething_GotFocus()
      If IsNull([cboSomething]) Then
      [cboSomething].Dropdown
      End If
      End Sub

      • #595668

        Perfect Hans
        Thanks.
        p.s Send my warmest regards to Mrs Hans

        Dave

    Viewing 0 reply threads
    Reply To: Combo (A2000)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: