Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo box Bug.
Message
 
To
29/07/1998 15:56:04
Cheryl Qualset
Qualset Computer Consulting
Davis, California, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00110837
Message ID:
00122483
Views:
40
>When I display a record which points to contact #5 of the agency and then display a record which has an agency w/ only 2 contacts, I get a record out of range error when the contact refreshes. Another thing that happens is that sometimes the contact combo displays the contact when a different parent is displayed, sometimes it is blank until you tab through it twice. (or tab, shift-tab).
>
>Have you run into this before?

Cheryl,

What you are running into is an event sequence problem. You move to another record, the combo for agency changes its value, but the combo for contacts is still populated from the last agancy. In the programmaticchange event of the agency you need to call the contact combo's requery so it will update its list.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform