Write in the first file, but wont write in the second one... Journal: Invalid handle 0 in Filewrite

 

It just write the first line for the second file: "indicadores2.csv".

Thanks in advance for any help.

 
spazioalto:

It just write the first line for the second file: "indicadores2.csv".

Thanks in advance for any help.

Please try to declare the file handle variable as static.