Hi,
How can you call a field by reference.
in a table there are 100 fields called
import01
import02
import03
..
import99
in a report i want to do as followes
i := 1
repeat
get the value of field(import + i);
Run a function;
write to field (import + i);
i = i+1;
until i = 99;
i try using the fieldref and recordref but cant figure out how to do it.
can someone help get started with this?
thanks!
0
Comments
My Blog - nav.education
I tried to do this thing for one report, I tried all options, but no luck.
Navision Developer
You can use the field table to get the fieldnumber and use this to retrieve the fieldref.
Object Manager
This works great. \:D/
Thanks a lot =D>
Nightrod
This code can resolve my report problem also.
Navision Developer
Object Manager