If the data is 0 in specific listIndex then it displays Runtime error message
How to tell block if there is no data then it must display "" (blank space) in relevant textbox.
The rationale of these blocks is to avoid that a longer list could be attempted to be filled by the data extracted from a shorter one. And also that the labels' list could be filled by a too long input list.
In other words: if the input list length is equal or less than the labels' list, the labels' list is filled by all the elements of the input list, but there is no attempt to access non-existent elements of the input list. On the opposite, if the input list length is > of the length of the labels' list, a warning is issued (this should never happen, but in the case...)
OK I see I've been not clear enough.
The list "Label_list" in your case will contain the name of your labels like:
p-rat;p-amt; etc. till the last label name.
While the list "Input_List" is your "global lista" that is filled in runtime by the split block.
Cheers
Dear @Tariq,
I've sent you the corrected .aia via PM, since you have inserted a reference to an uri that is private, I guess.
The one you sent me is missing of the "split" bock, and it has more input fields than the lables, therefore i've duplicated the function that fills the labels. On my phone it works (sometimes I cannot access the database, but it's a problem of internet access, not of the algorithm).