Hi,
I've developing an survey app which contains a table where only first column is fixed (it's always the same), but this table could have 1 or 2 or more additional columns, and they depends on amounts of buildings to visit.
In other words, each user of my app can build a table where he/she will choose the amount the buildings to visit (it can be 1 or 100) and then in each visit the user can load the necessary amount of SpecificParts for each visited building.
Each user will create a different Table each time, which will have a different number of columns each time.
so, the deliverable table should be looks like:
DeliverableTable= { SpecificParts, Building #1, building #2,.......}
I was trying with following simple example
ClearCollection(colFixColTable, { SpecficPart: "KTN2134"} )
also, in a Text Input, the user must write each name of building to visit
and adding a Data Table:
DataTable1.Items = ClearCollection( colDelivTable, AddColumns(colFixColTable, BuildingNames.Text, 0) )
but it's seems does not work
seems it is not possible to add columns to a collection dynamically.
Any idea or help will be appreciated. Thank U!
Cheers
FSio