![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 6 of 6 total |
![]() |
Sun, Dec 28 2014 7:54 PM | Permanent Link |
TD Advanced Data Systems, Inc. | Is there a way to determine if a user has changed the value of a field on a form? I know in some development software the field would have a property called Dirty that would be set to true if the user has changed the value.
Thanks, TD |
Mon, Dec 29 2014 6:40 AM | Permanent Link |
Rick | >TD wrote:
> >Is there a way to determine if a user has changed the value of a field on a form? I know in some development >software the field would have a property called Dirty that would be set to true if the user has changed the value. > The TEdit control has an OnChange event that fires whenever the Text property changes. I guess you could use that. |
Mon, Dec 29 2014 8:48 AM | Permanent Link |
Ronald | TTable has the property Modified. That tells you if a field is changed. The
individual fields also have this property. I don not know for sure if this only refers to the column. Maybe you can also play with the OldValue property of the column. Greetings, Ronald "TD" schreef in bericht news:E381C59F-3244-4468-86BD-2D2763AB1F7D@news.elevatesoft.com... Is there a way to determine if a user has changed the value of a field on a form? I know in some development software the field would have a property called Dirty that would be set to true if the user has changed the value. Thanks, TD |
Mon, Dec 29 2014 10:11 AM | Permanent Link |
Ronald | Hi TD,
The TTable component has a property Modified that tells you that the table has changed. Individual comlumns of the TTable also have a property Modified. I am not sure of that only refers to the field or that it is the same as the value of the TTable.Modified property. You can als try the OldValue property of the individual columns. Compare that wit the .AsString value. Greetings, Ronald "TD" schreef in bericht news:E381C59F-3244-4468-86BD-2D2763AB1F7D@news.elevatesoft.com... Is there a way to determine if a user has changed the value of a field on a form? I know in some development software the field would have a property called Dirty that would be set to true if the user has changed the value. Thanks, TD |
Mon, Dec 29 2014 10:34 AM | Permanent Link |
Raul ![]() | On 12/28/2014 7:54 PM, TD wrote:
> Is there a way to determine if a user has changed the value of a field on a form? I know in some development software the field would have a property called Dirty that would be set to true if the user has changed the value. What are you trying to achieve ? Generally you need to monitor OnChange event. However if you're using dataset the goal is to get the changes back to server then you should consider starting a transaction. You can also look at the database.GetTransaction method to see if there is changed data. Raul |
Mon, Dec 29 2014 10:51 AM | Permanent Link |
TD Advanced Data Systems, Inc. | What are you trying to achieve ? Thanks everyone for helping. I am using a series of forms to create a wizard like effect that the user will navigate through to input their data. I need to know if the user has changed anything on the form if the user clicks the PREVIOUS or NEXT buttons to leave the form before clicking the CANCEL or SAVE buttons. Thanks,TD |
This web page was last updated on Friday, December 1, 2023 at 06:01 PM | Privacy Policy![]() © 2023 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |