Hi,
I am encountering an error while using a for loop inside hiCreateAppForm fields. Here is the error message:
*Error* hiCreateAppForm: not all fields have 2D attributes specified, and/or illegal attribute values
However if I comment out the for loop then error goes away.
hiCreateAppForm(
?name 'Form
?formTitle "test form"
?fields
list(
list(label 0:0 600:30 200)
list(all 10:30 600:30 20)
list(none 10:60 600:30 20)
list(cellviewFrame 0:90 600:30 200)
for(i 1 count
list(cellview[i] 10:90+(i*30) 600:30 20)
);for
);list
);hi createAppForm
hiDisplayForm(Form)
Any help would be appreciated.
P.S. cellview has been declared as an arry in earlier part of the code (declare(cellview[2]) )
Regards,
Sandeep