Hi, I have a large variable defined as a TYPE with approx 30 elements.
Is there an easy way to clear all the values without going thru each one?
Thanks
Printable View
Hi, I have a large variable defined as a TYPE with approx 30 elements.
Is there an easy way to clear all the values without going thru each one?
Thanks
Don't think so.
If you declare a new variable of this type all will be cleared.
If you are using one in a function and it needs to be cleared into this function i suggest you write a clear sub which clears all variables in your type. This should only be written once and can be called from anywhere in your app.
Thanks swatty.