empty record


Hi all,

Is there a simple way to clear a record without having to set all the members of that record?



Hi George,

You can make a Duplicate Record Variable so you can assign it to your main record variable.




If you need it on multiple locations, create a function that returns a record of that type. The function body can stay empty (except for the Start/End of course).


You can also use a variable of type record (of that entity) and assign it to the main variable that you are using.

cheescake, I think that's what Regie already tried to say! Also, like I said, in case you need it multiple times, a function is a cleaner solution.

Ok, it's clear. Good ideas, thanks!