I have scripts like this one
And than i use it in *FOR to genarate dynamic code.
But what happens is, that when i validate the code, what it does is, it gets the value from the DB and hard code it into the LGX file.
So every time i change the YEAR in BDTRABALHO, i have to revalidate all my dynamic code.
Any ideas how to automate it, or at least, run this validation from the data manager?
Any ideas would be appreciated.