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

update column used for cbo box?

$
0
0
Hi again,
Alright. So I have an access db. On one table I have placed values in a column. My cbo boxes load the values into the drop down using the below.

Code:

  With cboCaseManager
    .Clear
    Do While Not oRS.EOF
        If Not IsNull(oRS.Fields("Case_Manager").Value) Then
        .AddItem oRS.Fields("Case_Manager").Value
        End If
      oRS.MoveNext
    Loop
  End With

Now what i need to do is be able to create a function where the values can be updated/edit from the application without having to go into the access db.

So say the values for the cboCaseManager are "1,2,3,4,5". I need to be able to "Edit/update" the column to show "1,2,3,4,5,6,7,8,9,10".

I know how to update a recordset, but that is a row. On this I just want to update the values in that particular column.

Any nudge into the right direction is greatly appreciated!

Viewing all articles
Browse latest Browse all 21243

Trending Articles



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