View previous topic :: View next topic
|
Author |
Message |
richie
New User
Joined: 11 Jun 2005 Posts: 24
|
|
|
|
Hi,
I have a screen prepopulated with some customer data(this data is editable).
Incase customer modifies the data, i need to insert a ow in my table
and if no data is modified , i need not do any pocessing.
Could anyone please help how do we check the attribute whether a field has been modified or not for the validation puposes.
Thanks |
|
Back to top |
|
|
khamarutheen
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
|
|
Hi richie,
U can wait until user choose any update key ie., pf1 or any of the key u assigned to that particular record.... and compare the fields from the database with ur field if match then put true to flag else mark as flase.. hope got it.. |
|
Back to top |
|
|
richie
New User
Joined: 11 Jun 2005 Posts: 24
|
|
|
|
Hi,
I wish to check the moify using attribute MDT.
Please tell me i we can do it and how to code fo this.
Thanks. |
|
Back to top |
|
|
Brian's_song
New User
Joined: 27 Dec 2005 Posts: 21
|
|
|
|
Hi ,
If you codng in language Natural, then I think you can use the control-variable to meet the needs.
For example, in the map, set the variable #C-CUSTNAME as the #CUSTNAME 's control variable , then in the PGM, you can use the statement :
IF #C-CUSTNAME MODIFIED
...........
END-IF.
Hope It is helpful to you. |
|
Back to top |
|
|
|