Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
Bhavbhuti,
Alan makes an excellent point. I'm currently working in an application that constantly is asking, "Do you want to save this record?" when all the user did was go in, click on something then try to leave. In the past I have put a record into an object using Scatter Name when entering a form and then compared it to another object of the same record using CompObj when leaving the form (thanks to Cetin for that tip a couple years ago). I will eventually start to change the current application to do that as well.
Renoir
>>Just keep in mind though, that GetFldState(), InteractiveChange(), and ProgrammaticChange(), tell you that the field has been messed with. They don't really tell you if the value is different than it was coming in.
>
>Yes I have put it in the LostFocus() and I just wanted to know if the user modified once just to set a portion of the screen in a diff. color to get the users attention that save will be required.
>
>>
>>If you truly want to know if the value is changed, you need to do your own comparisons.
>>
>>Alan
>>
>>>Thanks a lot David.
>>>
>>>>GetFldState()
>>>>
>>>>>I wanted a quick & efficient way to find out if say for eg. the text in a textbox / cbo or the status of a checkbox has changed.
>>>>>
>>>>>The controlsource for all these controls will be a view.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only