The only way I can see as possibility is to do the following:
Assoc??????????????????? myDynamicAssocs
for x =1 tolength(recs)
myDynamicAssocs.(‘A’ + Str.String(i)) = Assoc.CreateAssoc()
end
Of course you can also store them in a list.
Hans
From: eLink Discussion: Development Discussion[mailto:development@elinkkc.opentext.com] Sent: Montag, 22. M?rz 2010 20:22To: eLink RecipientSubject: Dynamically name an ASSOC
Dynamically name an ASSOC
Posted by sapna.shah (Shah, Sapna) on 2010/03/22 15:20
Hi, Is there any way to dynamically name an ASSOC? Meaning if I have a loop, say for x = 1 to 5 then going through the loop, dynamically create and name an ASSOC based on the value of x e.g. for x =1 to length(recs) if value of x = 1, then create Assoc A1, if value of x = 2, then create Assoc A2, and so on..
[To reply to this thread, use your normal E-mail reply function.]
Discussion:
Development Discussion
Livelink Server:
knowledge-wlweb01
To Unsubscribe from this Discussion, send an e-mail to unsubscribe.development@elinkkc.opentext.com.