I'm stuck again,
Here it is:
If sform.CstPartsPricing_DS1.CstPrtsPricing_ETC_DataTbl.Rows.Count = 1 Then
sform.cboCstPrtsPrChgd.SelectedIndex = Nothing
sform.cboCstPrtsPrChgd.SelectedIndex = sform.cboCstPrtsPrChgd.Items.IndexOf _
I have an unbound combo box that I am (TRYING) to fill from a recalled DS the above code works sometimes and sometimes not
It works the first time after the form is loaded but then the inconsistency starts - I've tried to relocate the code so that it's the last process running but can't alter the behavior - can anyone tell me if the .selectedindex property is the correct way the proceed here or not Is there another property I should change - the second recall is where is problem starts.
What I mean by "WORK" is that there is no errors and the combo box gets populated - there are 2 items in the collections???
What I mean by "NOT-WORK" is that there is no errors and the combo box "DOESN'T " get populated - there are 2 items in the collections???