• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 276
  • Last Modified:

How to fire UnboundWriteData event without switching rows

I have a unbound DBGrid which works great, except the user needs to leave the current row before the new data on that row is updated or inserted in the resultset. (this is because you need to leave the row to have the unboundwritedata event triggered).  Is there any other way I can have that event triggered so the users don't need to remember to exit the row when adding or updating a new line?
0
ZVE
Asked:
ZVE
1 Solution
 
myqlGCommented:
It would depend on what or how they enter data.
I capture the return key and setfocus to somewhere else
that way it moves the cursor..theupdate happens and all is well

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now