General information
Title:
AddObject in a loop not working
I am trying to add combo boxes on the fly in my form, from data in a table. Here is my code. It works the first time through, but the second time gives a syntax error on AddObject.
SELECT process_assoc
SCAN
lcLabel = 'lbl'+process_assoc.process_abbrev
LOCAL &lcLabel
THISFORM.AddObject(lcLabel,'gen_label')
ENDSCAN
What is going on?
Jill
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only