Bert Strobbe
19 posts
Registered:
25 Oct 2018
21 Feb 2019
Link to this post
We have a question on how the copying of a record is now implemented.
At the moment the StoreValuesForCopy and RestoreValuesForCopy are used.
As not all fields in the temptable might be linked to a control, not all fields in the temp-table are copied. If we would want to also have the 'non visible' fields to be copied, we would need to do a buffer copy in the correct place (still to identiy where that is), with the possibility to exclude certain fields (for instance audit fields or the record id field).
Is there a reason why the copying of a record isn't implemented this way?
Another reason for this question for the question is that we want to have a single point of code for initialization of a record, no matter if we are creating or copying a record. But we would certainly need to have the copied fields already in place.