I have created a ztable, in that i have 4 fiels like rec created by,created on, Modified By,Modified on along with 2 primary keys fields. and i have create a maintenance view along with maintenance dialog generator.
And from my applicaiton i have called this view using call_view_maintenance Function.
And in my view Only 2 primary keys are Shown and these 4 fields Like : Creted By,Created On ,Modified By ,Modified On are hidden.
Now my problem is When when i want to update any record for that i used event 21 'Hidden Fields' and written code to fill these blank Fields Modified By,Modified On using system field.
But on execution,the key fields data is updated but these Fields: Modified By,Modified On remain blank .How to do that.
And when i used Event 05 'to create New Entry' then these fields like Modified By,Modified on are also filed with system field data which i have coded in Event 21 for these 2 fields Modified By,Modified on.
So i want any solution regarding on my Create Event these 2 field Modified By,Modified on should not be filled ie . Event 21 code should not be execute on CREATE.
And on Update Event how to fill these 2 blank fields: Modified By,Modified on.