Good afternoon!!!
I would like to rename the photo to upload ultilizando the CPF field profile that has not spaces. However, I imported some data from the previous version to the new version of the software.
Check that the picture field is empty, so that the ultilizei If as follows.
if (rsold [ "Fto"] = "")
{
var test = rsnew [ "CPF"];
rsnew [ "Fto"] = test + "jpg.";
}
else
{
var test rsold = [ "Fto"];
rsnew [ "Fto"] = test + "jpg.";
}
return true;