Can anyone help me figure out why I am getting 2 of each row from a table in the Windows desktop combobox list? The are four records or rows in the table, but the list contains 8 rows, 2 of each table row. When I step through the loop in the debugger it loops only 4 times. I wonder what is happening?
cboIP.RemoveAllRows
For Each row As DatabaseRow In data
cboIP.AddRow(row.Column("ip").StringValue)
next
I also tried it this way.
cboIP.RemoveAllRows
For Each row As DatabaseRow In data
cboIP.AddRowAt(row.Column("id").IntegerValue,row.Column("ip").StringValue)
next