04-07-04, 00:22 #1Registered User
- Join Date
- Dec 2003
- New Zealand
Unanswered: Combo boxes not populated correctly
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.
05-20-04, 06:54 #2Registered User
- Join Date
- Aug 2003
- Bologna - Italy
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.
ByeThe only failure is not trying to do it.