` 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 April 28, 2024, 7:46 pm
This article has been viewed/printed 35115 times.