A database contains all controls and their elements
We call the element AND the value of this element via the code.
Result: we can build, adapt, rebuild, make custom styles etc, in a couple of lines
These are the lines::
' an sql string to define the data
sql = "" : sql = "select * from config"
'Connecting to the data
rst = cns.OpenRecordset(sql)
'Our data has a certain number of fields
For i = 1 To rst.Fields.Count
'And here I lose it: Th database contains the right name of the element, but the use of it
Dim itm As GridItemCollection.element = rst.Fields(i).Name
'In our case the 'Grid.backcolor' is called because the database contains that word.
If this had worked, then certainly the below would've worked
IGrid1.itm = rst.Fields(i).Value
What I have tried:
Looked around, found nothing, Sen some questions on the web. Come here because you lovely people answer always.