Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2003
    Location
    New Zealand
    Posts
    17

    Unanswered: Combo boxes not populated correctly

    Hi,

    I have created a form with a table frame in which two of the fields are combo boxes. In my code, I set the datasources for the lists attached to these boxes from tables containing names and job descriptions.

    If I add in a new name, on another form, I get a strange problem.

    The top row of the table frame has the new name in its combo box list, but the rest of the rows do not have the new name.

    I.e. the top row combo boxes populate correctly but the second and subsequent ones do not.

  2. #2
    Join Date
    Aug 2003
    Location
    Bologna - Italy
    Posts
    209
    I've never used the datasource property, since it does fill up the list ONLY at form's opening. If you want to have this kind of functionality you should fill up the list in the arrive method of the list, just before the list is shown.

    The datasource property has been added to the lists in recent versions of paradox to ease the transition for Access users, but you should avoid these low profile tricks and fill the list by yourself.

    Bye
    The only failure is not trying to do it.

Posting Permissions

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