Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: dhrobertsonhi,
I want to use the movefile function to rename a file. I can do this no problem but when I try to save the graph as an lxa it fails with:
error.jpg
there is a previous posting about this here:
http://community.lavastorm.com/threa...t=error+saving
the solution here was changing the parameter type to long.
In my case the parameters are string values. I tried changing to type str with no effect.
my code is :
moveFile( {{^filerename^}} + ".csv" , {{^filerename^}} + "_"+ prepareDate + ".csv" )
I tried:
moveFile( str({{^filerename^}}) + ".csv" , str({{^filerename^}}) + "_"+ prepareDate + ".csv" )
but it still failed to save as an lxa.
any ideas please?
thanks
douglas