Ian Branch 131 Posted July 6, 2024 (edited) Hi Team, I want to display a conditional message on data change. The condition tests a couple of fields in the record and if the test is True then a message is displayed. I currently have relevant code in the Table DataChange event. Unfortunately, the message is displayed on every occurrance when a record is selected past other records that the condition is true. 😞 How can I get this to work/show only when the the data changing has stopped and the selected record is visible to the User? Ian Edited July 6, 2024 by Ian Branch Share this post Link to post
JonRobertson 76 Posted July 7, 2024 One suggestion would be to use a timer that is reset in OnDataChange. I've done something similar when implementing an incremental search, using the OnChange event of a TEdit for example. Share this post Link to post
Ian Branch 131 Posted July 7, 2024 (edited) 1 hour ago, JonRobertson said: using the OnChange event of a TEdit for example. Tks. I added the functionality to the InChange of a Read-Only DBEdit on the Form and it works perfectly. Ian Edited July 7, 2024 by Ian Branch Share this post Link to post