• Make highlight in listbox disappear (A2K (SR1))

    Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Make highlight in listbox disappear (A2K (SR1))

    Author
    Topic
    #373808

    I have 2 single-pick listboxes in a form, each one opening a report. If I picked one option from listbox 1, and then move to listbox 2, how would I make the highlight in the first listbox disappear so that only the choice in listbox 2 is highlited? Thanks in anticipation.

    Viewing 1 reply thread
    Author
    Replies
    • #602050

      Set value of 1st listbox to null. Ex:

      Me.Listbox1 = Null

      HTH

      • #602128

        Thanks, David. It works.

        • #602150

          Glad it worked but who’s David?? confused

          • #602165

            Sorry, MarkD, neither do I know who is David:) I got mixed up along the way. My sincere apology and thanks for your help.

    • #602104

      Are you going to use the value selected in the first listbox for anything? If you are, then it would not be a good idea to unselect it.

      • #602126

        No, Charlotte, the items in the two listboxes are independent of each other, though they are under the same broad category. DavidD’s advice worked very well for me. Thanks.

    Viewing 1 reply thread
    Reply To: Make highlight in listbox disappear (A2K (SR1))

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

    Your information: