If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Corel Paradox > Combo boxes not populated correctly

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-06-04, 23:22
Rob Scovell Rob Scovell is offline
Registered User
 
Join Date: Dec 2003
Location: New Zealand
Posts: 17
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.
Reply With Quote
  #2 (permalink)  
Old 05-20-04, 05:54
Shores Shores is offline
Registered User
 
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.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On