1 group with some fields and 2 variables.
Variable 1 have the field names and variable 2 have the values i want like (name1,name2,etc)
I want to get the field name from the var 1 and pass the value from var 2 into text of field.
is that possible and how to?
my code until now
Code: Select all
repeat with x=1 to the number of flds of group "grp-A"
add 1 to counter
put the short name of fld x & cr after fNames
end repeat
set the itemdel to comma
put 0 into myCounter
repeat for each line f in fNames
repeat for each line t in tvalues
end repeat
end repeat