Hi There
I have a form with 2 Tabs. Each one of the Tabs has got a multicolumn checkedlistbox control.
The controls are drawn on the screen at run time using values from 2 views of the same table.
The following is part of the code I use to draw my controls:
VB Code:
Me.chkListBox1.DataSource = dvMyDataView 'the table view Me.chkListBox1.DisplayMember = "Display_Description" 'column Name to display on control Me.chkListBox1.ValueMember = "Checked" 'column name to store checkstate
The idea is to assign the checkstate to the column named "Checked" each time I click a box on the control.
My controls are drawn on the screen and I can check/uncheck my boxes. However, on leaving the current Tab go to the next one, I realise that my checkbox is cleared and becomes blank.
Any ideas as to why this is happening?
Your help will be appreciated.
Thanks


Reply With Quote