Hi there.
I have a data entry form that loads a bunch of reference data for several different combo boxes from XML files. Here's some sample code:
Once I've loaded my various combo boxes, I retrieve data from an oracle database. I'm wondering how i can get the values of each combo box to change to match the values that have been set in the currently active record?
Right now, the only logic i have to get the data is :
And then I have a bunch of VCR controls that were created for me to navigate through all my records.
I have a data entry form that loads a bunch of reference data for several different combo boxes from XML files. Here's some sample code:
VB.NET:
With Me.cmboSectionAQ1
.DisplayMember = dsYNDNK.Tables(0).Columns(0).ColumnName
.ValueMember = dsYNDNK.Tables(0).Columns(1).ColumnName
.DataSource = dsYNDNK.Tables(0)
End With
Once I've loaded my various combo boxes, I retrieve data from an oracle database. I'm wondering how i can get the values of each combo box to change to match the values that have been set in the currently active record?
Right now, the only logic i have to get the data is :
VB.NET:
Me.WTBTableAdapter.Fill(Me.BaselineDS.WTB)
And then I have a bunch of VCR controls that were created for me to navigate through all my records.