Archangelos
New Member
- Joined
- Aug 21, 2017
- Messages
- 49
I have the following procedure that calls another procedure multiple times.
No matter what the procedure "uuCustomTpNames" does, the question is: can I make an array data structure, insert a number of records and write the call command one time only?
I am thinking of something like the following.
Make ArrayDataStructure (string1, string2, string3, string4)
Insert ArrayDataStructure ("11221", "H", "BWA", "BWA 1")
Insert ArrayDataStructure("11547", "V", "BWA", "BWA 2")
Insert ArrayDataStructure("11483", "H", "PBL", "PBL 1")
Insert ArrayDataStructure("11497", "V", "GFD", "GFD 1")
For all records in ArrayDataStructure
Call uuCustomTpNames (string1, string2, string3, string4)
Code:
Sub OneSubCallingAnotherSubMultipleTimes()
Call uuCustomTpNames("11221", "H", "BWA", "BWA 1")
Call uuCustomTpNames("11547", "V", "BWA", "BWA 2")
Call uuCustomTpNames("11483", "H", "PBL", "PBL 1")
Call uuCustomTpNames("11497", "V", "GFD", "GFD 1")
End Sub
No matter what the procedure "uuCustomTpNames" does, the question is: can I make an array data structure, insert a number of records and write the call command one time only?
I am thinking of something like the following.
Make ArrayDataStructure (string1, string2, string3, string4)
Insert ArrayDataStructure ("11221", "H", "BWA", "BWA 1")
Insert ArrayDataStructure("11547", "V", "BWA", "BWA 2")
Insert ArrayDataStructure("11483", "H", "PBL", "PBL 1")
Insert ArrayDataStructure("11497", "V", "GFD", "GFD 1")
For all records in ArrayDataStructure
Call uuCustomTpNames (string1, string2, string3, string4)
Last edited: