Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Text box does not always reflect controlsource
Message
From
11/11/1997 09:57:15
 
 
To
10/11/1997 17:22:03
Edward Crawford
City Facilities Management
Glasgow, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00059394
Message ID:
00059499
Views:
29
>>>I have a list box with the .ControlSource = "Contact.ContactId". Contact has about 100 records in it. I also have three textboxes who have their .ControlSources set to "Contact.Contact", "Contact.Phone", and "Contact.Fax". If I click on anyone of the first 25 items in the list box, the data in the text boxes chages as they are supposed to. If, however, if I click on items 26 -100, the data in the test boxes will not change. If you look at the Data Session, it shows that the pointer is on the correct record. You can also click on the text box and it will change to the right data. I tryed to Refresh() the text boxes in the List.Click() event, but this doesn't work. Why is this happening?
>>>
>>>-Ed
>>
>>Refresh the tesxtboxes in the listbox.interactive change event, instead of the click.
>
>Erik,
>
>I still got the same behavior.
>-Ed

Do the textboxes refresh with a manual refresh (like from a test button with thisform.refresh in the .click)?
If so, have you watched the code in the debugger to make sure your refresh is firing?
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform