Dear Experts, I tried to create user collection at run time , but it gives error, i don't know how to handle this, i have mentioned my code below, please let me know whats the wrong in it. Code: [#Menu : Import Direct] Add : Key Item : After : @@locImportofData : "Test Program" : P: Menu : Import Data [Menu : Import Data] Title : "" Key Item : Test :T:Call: AddCollection [Collection : TestCollection] variable : Name : String variable : SurName : String [Function : AddCollection] AC00 : INSERT COLLECTION OBJECT : TestCollection AC01 : SET VALUE : Name : "Test" AC01 : SET VALUE : SurName : "Testing" AC02 : SET TARGET.. W00 : WALK COLLECTION : TestCollection W02 : MSGBOX : "" : $Name W03 : MSGBOX : "" : $SurName W01 : END WALK Thanks, Dhanapal Amulraj.
Hi, Please let me know the purpose where in which you want to apply this? So that we can give the alternate work arounds. Hence, you have to create a collection based on the object, where in your testcollection there is no object is associated. As of now in Tally you can create a user defined collection based on external objects using [object] definition or we can create a collection from external data sources. Otherwise you can create a user defined collections based on the internal objects with attribute [Type]
Hi Marudhachalamurthi, Thanks for your comments, At run time i want to store age values in my own collection for comparing age and Ordering the age in Ascending order. can you please share the code using by external object [Object]. Thanks & Regards Dhanapal Amulraj.