Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textbox refills with old data after clearing
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01157636
Message ID:
01157800
Views:
15
No controlsource but old value reappears when user begins entering a new value. The reset button simply sets
textbox.value = ''
.


>Is there anything in the value or the controlsource property for the textbox?
>
>>I'm also getting this with VFP8 SP1.
>>
>>I have a textbox with a inputmask and code in the Interactivechange() event that sets up a filter. I also have a button that clears this textbox and in essence resets the filter.
>>
>>What's happening is this (Everything is contained on a page of a pageframe):
>>
>>1. User sets the filter textbox. (works as intended)
>>2. User clicks the reset button and the textbox goes to blank (as intended).
>>3. User begins to enter the next filter they wish to set and after so many characters the textbox redisplays and becomes the filter that was set in 1.
>>
>>The filter is set using a SELECT statement and populates a grid.
>>
>>I am simply clearing the value and refreshing the page and resetting the grid back to it's unfiltered state. The only code that changes this textbox is under the reset button.
>>
>>Any ideas what I'm missing here?
>>
>>Richard
State of Florida, DCF
Previous
Reply
Map
View

Click here to load this message in the networking platform