Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need to add data to data grid. Not ADO

Status
Not open for further replies.

Nunina

Programmer
Mar 5, 2003
128
PR
Hi Guys!

I have a data grid that is bound with an ado recordset. I need to populate the columns of another grid that is unbound in order to show information, write additional data into the grid, and then save it to a table.

The problem is I cannot show the 1st's grid data into the 2nd's... This is what I'm doing:
Code:
     With DBGrid1
            .Columns.Add 0
            .Columns(0).Caption = "Tel"
            .Columns(0).Value = adoGrid.Columns(0).Value 
            .Columns.Add 1
            .Columns(1).Caption = "Client"
            .Columns(1).Value = adoGrid.Columns(3).Value   
            .Refresh
      end With

I just want to "show" the data from adoGrid into DBGrid1 temporarily until the user saves the data.

Any suggetions?

Thanks again!

Nunina [gorgeous]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top