I have a form with a number of the same invisible objects on. I want to make them incrementally visible according to how many records are in a table - 1 object for each record...
This code generates a 1925 error - Unknown member "name".
zrecs=RECCOUNT()
IF zrecs>0
FOR x=1 TO zrecs
thisobject='Dayjobsline'+ALLTRIM(STR(x))
thisform.thisobject.visible=.t.
NEXT
ENDIF
I have checked the value and type of 'thisobject' by displaying it in a messagebox, and it is all correct, yet I still get the 1925 error.
Please advise what I am missing here...
Many thanks!!