I have =AFIELDS(myarray) and then myvariable = myfunction(@myarray,parameter2). In the function, I loop from I = 1 to ALEN(myarray,1) and
cTemp = dbGetProp(myarray(I,1),'FIELD','Caption').
If there is a caption, it works. But if there isn't one, I get a "Function argument value, type, or count is invalid." What's wrong? Thank you.