Hi Blade !

Yes, you have to declare all var...
I just provided the code...(that came from the A6 forum
The temp_m var is a temporary variable and should be different for temp

I will look at your code later tonight and get back to you.

Ottawa smile