You are here: Tips and Tricks > Storing Data Into Decoder Data Objects

Storing Data Into Decoder Data Objects

There are two ways to save field values into Decoder Data Objects. One is with a PostProcessing Method, and the other is to use a custom Retrieval Method. Note that you are not obliged to set either output of a Retrieval Method (i64FieldValue or iFieldSize); these are preset with the existing values when the method is called. Using a Retrieval Method to store data would be preferable in various circumstances, for example when a field is repeated and each instance of the value needs to be saved.