Trying to find the first empty field (if any) and store that in another field... iFA (First Available)
Code: Select all
repeat with N=1 to 15
put "pHlp" & N into emptyFLD
if fld emptyFLD of cd"Page 2" of stack"MJADMIN" is empty then
put N into field "iFA"
exit repeat
end if
end repeat
I know this is basic but can't seem to find the answer.
Tom