` Printed Icetips Article

Icetips Article



Par2: Get initial value of field using DCT trigger (or FileManager)
2011-05-27 -- Rick Martin
 
Go to your data dll, global Embeds.
In the Global Objects go to the File Manager for your table.
In the Init method near the end embed this code:
Self.SavePreviousBuffer = True

Now in your PostUpdate embed you can use:
Buffer.FieldName to test the old value.
for example:
If Buffer.LastName <> CUS:LastName
  Do something



Printed December 3, 2024, 11:52 am
This article has been viewed/printed 35230 times.