Results 1 to 3 of 3

Thread: combo box clearing

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2000
    Location
    Tennessee
    Posts
    279

    Question

    I want to clear a form to add a new record but this:

    cboCombo.text = ""

    gives me an error saying that text property is read only. How can I clear this?
    A cynic knows the price of everything but the value of nothing.

  2. #2
    Hyperactive Member Pix's Avatar
    Join Date
    Feb 2001
    Location
    I'm not telling you (or them)
    Posts
    282
    Try Combo1.Text = ""

  3. #3
    Guest
    That's the same thing.. Try this.
    Code:
    Combo1.ListIndex = -1

Posting Permissions

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



Click Here to Expand Forum to Full Width