>Hi...
>
>I still have a problem... I think it's a VFP's bug!
>
>Create a Form and put one Textbox.
>
>ThisForm.TextBox.ControlSource = "Table.Field"
>
>ThisForm.KeyPress:
>If nKeyCode = -7 && F8
> MessageBox("Value: "+ThisForm.TextBox.Value)
> MessageBox("Table.Field: "+Table.Field)
>EndIf
>
>Save and RUN...
>
>Type "something" in Textbox and press F8...
>
>The Value contain SOMETHING, but the field not...
>
>Is it a VFP's Bug?
>
>[]'s
>
>Rodolfo Duarte
>Brazil.
Not a bug - maybe not the way it should work, but not a bug :)
The object doesn't write out to it's ControlSource until it loses focus somehow.
Since you are hitting a hotkey to do this, it isn't losing focus.
Insanity: Doing the same thing over and over and expecting different results.