General information
Category:
Forms & Form designer
Hello Gilles,
I think that what is really happening is that the textbox in the form never looses focus.
ToolBars in VFP don't get focus (every contro,can get the focus but ToolBars just don't get it)
So your textbox doesn't looses the focus when you click in a toolbar button. Therefore the controlsource of the textbox isn't updated.
When you issue tableupdate(), the table field still has the old value. The table field will only have the new value when you get out of the textbox control.
You can overide this by putting code in the interactivechange event of the textbox to do the replace of the fields with this.value
Now the table field is replaced as soon as you type values in the textbox. When you click the button in the toolbar the tableupdate(89 will function correctly.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only