Results 1 to 7 of 7
  1. #1
    Join Date
    Feb 2002
    Location
    San Antonio, TX
    Posts
    69

    Unanswered: A97: Combobox question

    When I change the column count, column width and list width properties of a combobox on my form through code, the combobox will show no data. Requerying the combobox does not help.

    Any ideas?

    Thanks.
    "Doing stuff is overrated. Take Hitler for example. He did lots but don't we all wish he'd have just stayed home and gotten stoned?"

  2. #2
    Join Date
    Apr 2002
    Posts
    139
    Have you tried Refresh or Repaint?

    hth

  3. #3
    Join Date
    Feb 2002
    Location
    San Antonio, TX
    Posts
    69
    Tried both. No luck.

    If I'm not mistaken, refresh and repaint are methods of a form, not a control.

    Thanks though. Any more ideas?
    "Doing stuff is overrated. Take Hitler for example. He did lots but don't we all wish he'd have just stayed home and gotten stoned?"

  4. #4
    Join Date
    Nov 2002
    Posts
    150

    Re: A97: Combobox question

    Originally posted by punkerboy
    When I change the column count, column width and list width properties of a combobox on my form through code, the combobox will show no data. Requerying the combobox does not help.

    Any ideas?

    Thanks.
    Did you change the underlying row source when you changed the number of columns before calling requery?

  5. #5
    Join Date
    Feb 2002
    Location
    San Antonio, TX
    Posts
    69
    Yes I did.
    "Doing stuff is overrated. Take Hitler for example. He did lots but don't we all wish he'd have just stayed home and gotten stoned?"

  6. #6
    Join Date
    Dec 2002
    Posts
    10
    Try setting BoundColumn property via code as well.

  7. #7
    Join Date
    Feb 2002
    Location
    San Antonio, TX
    Posts
    69
    The bound column isn't going to change. I'm only trying to add two different columns based on previous selected criteria.
    "Doing stuff is overrated. Take Hitler for example. He did lots but don't we all wish he'd have just stayed home and gotten stoned?"

Posting Permissions

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