` 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 November 24, 2024, 1:06 am
This article has been viewed/printed 35224 times.