Hello,
I'm retrieving data from an MySQL database and the results are being placed into an List. My question is how can I get that data into a Table. I wrongly presumed by doing the following I would get line 1 from the List into the table: Table.AddRow(Array As String(List.Get(1))), but I was wrong
I keep getting the following error: "Wrong number of values". Example of the values are below.
[1677, PHI0065, 19 July 2013, Philomena Gardner, £46.85, Yes, Yes, Yes]
I actually want to populate a table. The first two results from the ArrayList are below, I do set the number of columns to 8 with the following line Table.Initialize(Me, "Test", 8).
(ArrayList) [[Invoice Number, Account Number, Invoice Date, Company Name, Total, Printed, Posted, Paid], [1685, INT0012, 19 July 2013, Intensa, £62.87, No, No, Yes], [1677, PHI0065, 19 July 2013, Philomena Gardner, £46.85, Yes, Yes, Yes]]
What I actually want is to get data from an MySQL database into a Table, and not into a ListView or ScrollView both of which I can already do.
Any example source code would be more than appreciated
Thank you...
I'm retrieving data from an MySQL database and the results are being placed into an List. My question is how can I get that data into a Table. I wrongly presumed by doing the following I would get line 1 from the List into the table: Table.AddRow(Array As String(List.Get(1))), but I was wrong
I keep getting the following error: "Wrong number of values". Example of the values are below.
[1677, PHI0065, 19 July 2013, Philomena Gardner, £46.85, Yes, Yes, Yes]
I actually want to populate a table. The first two results from the ArrayList are below, I do set the number of columns to 8 with the following line Table.Initialize(Me, "Test", 8).
(ArrayList) [[Invoice Number, Account Number, Invoice Date, Company Name, Total, Printed, Posted, Paid], [1685, INT0012, 19 July 2013, Intensa, £62.87, No, No, Yes], [1677, PHI0065, 19 July 2013, Philomena Gardner, £46.85, Yes, Yes, Yes]]
What I actually want is to get data from an MySQL database into a Table, and not into a ListView or ScrollView both of which I can already do.
Any example source code would be more than appreciated
Thank you...
Last edited: