Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox
Message
From
30/12/2000 12:19:27
 
 
To
30/12/2000 11:19:38
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00458087
Message ID:
00458097
Views:
14
Hi,

How is the listbox populated? Is it based on a cursor created from a SELECT using the textbox value in the WHERE. (Tried this and couldn't replicate your problem.) Is TableBuffering on? If it is and the listbox query is based on a buffered table that hasn't been updated this could cause sporadic (when textbox value changed) incorrect results in the list when navigating through records.

Bill

>I have a list box that is populated depending on a certain value in a text box. Each time I press a nav button a method runs that updates the listbox. My problem is this: If I select an item in the list box then move back a record or forward a record the item selected will be the first item in the supposedly updated listbox even though that item is not supposed to be there. Somehow its holding on to the selected item and displaying it again. How can I make sure this listbox is displayed properly? Note: this this is a sparadic problem for some reason.
Bill Leber
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform