>Hi all,
> I have a group of fields, five in all that I need to go through sequentially. I have a for loop that that I thought would do this. They are named note1 through note5. I am trying to use something along the lines of:
>
local myFieldVal
>FOR i = 1 to 5
myFieldVal=evaluate("MyTable."+"note"+transform(m.i))
> DO CASE
> CASE myFieldVal="Something"
> myCode
> ENDCASE
>ENDFOR
>
>What is wrong with this picture?
>Thanks
See the changes in the code. What exactly you're doing here? Can you give more info, please?
If it's not broken, fix it until it is.
My Blog