Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21251

[RESOLVED] combobox showing the same name twice after editing

$
0
0
hey

i got combobo set to property 2

now when i add a new record and store it everything is ok

but when i edit the current record the combobox show me the same name twice why?

im sitting on this like and hour changing playing with the code but still no solution

i dont know what to do more:confused:

this is the code that makes me this problem


Code:

            Cmb3.AddItem Trim(.SubItems(5))
            Cmb3.Text = Trim(.SubItems(5))
            Cmb1.AddItem Trim(.SubItems(11))
            Cmb1.Text = Trim(.SubItems(11))
            Cmb2.AddItem Trim(.SubItems(12))
            Cmb2.Text = Trim(.SubItems(12))

tn in advanced

Viewing all articles
Browse latest Browse all 21251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>