Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Tabbing to a TDBEdit box removes the data in it



Permlink Replies: 0
Michael Hackney

Posts: 28
Registered: 9/4/14
Tabbing to a TDBEdit box removes the data in it
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 30, 2015 1:24 PM
In Delphi XE, I'm working in a table that is open, I place the table in Edit mode, and I'm actively working on a new record that I've just inserted into the table. When I press the tab key to leave one edit box and enter another box that is a TDBEdit box, which already has data in it, the data gets removed as I enter the box. So the data is not stored in the table yet, since I haven't issued a Post command. I know I could write an OnEnter procedure to check if the TDBEdit box first has data in it, but I thought that there must be a better way.

How do I eliminate the data from being removed when tabbing from box to box?
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02