Android Question RDC2 get items from first column

Alexander Stolte

Expert
Licensed User
Longtime User
Hey,

I need help with the RDC.

i receive from the database 50 rows with 5 columns, now i want to store the items in different list, so i have 5 lists with, 50 rows data.
How can I do this?
Greetings
 
Solution
I solvet it, I've already done this with my instructor in another language, but the principle was the same.

B4X:
For Each records() As Object In result.Rows
               CallSub2(Main, "receive",     records(result.Columns.Get("overschrift")))
        Next

Alexander Stolte

Expert
Licensed User
Longtime User
What exactly do you want to archieve?

The main task will be, to display the data in the Ultimate List View, in his layout.

The Columns are (an example): heading, firsttext, maintext, endtext and picture. 4 columns have text and the last column have a picture stored.

I want to fill my ULV with the receiving data, to load the list with his layout (label,imageview etc.)

My first consideration was to make the 5 lists with the data.
But i have no idea whether this is correct and how I get the data in the various objects.
 
Upvote 0

Alexander Stolte

Expert
Licensed User
Longtime User
I solvet it, I've already done this with my instructor in another language, but the principle was the same.

B4X:
For Each records() As Object In result.Rows
               CallSub2(Main, "receive",     records(result.Columns.Get("overschrift")))
        Next
 
Upvote 0
Solution
Cookies are required to use this site. You must accept them to continue using the site. Learn more…