Subject Finding text before leaving field
Author Joe Martinez
I have a TIBOTable with a TDBEdit connected to it.

The user has put the dataset in Edit mode, and has typed some text into the
TDBEdit. The cursor is still in the TDBEdit field (they haven't yet tabbed
out of it). In my code, I need to know what text is currently in the field.

If I try to grab the TIBOTable's field's value, I get back the value that
the field contained before the edit, not what's in there now. If the user
tabs out of the field, THEN accessing the value returns the new value, but
if the cursor's still in the field, I get the old value.

Questions:

1) How can I access the current contents of the TDBEdit if the cursor is
still in the field?

2) If there's no way to do #1, is there some way of "solidifying" the
value, as if the user had tabbed out of the field, but keeping the cursor
in the field?

Thanks,
Joe