Updating record in OS390 DB2 table using DataGrid and ADODC with VB 
Author Message
 Updating record in OS390 DB2 table using DataGrid and ADODC with VB

I am creating a GUI for a user to update records in an OS390 DB2 table. I'm
using Visual Basic 6.0.
I have a DataGrid and an ADO Data Control on a form. The DataGrid is bound
to the ADODC. I found some instructions that said by setting the properties
of the two controls (although they used True DBGrid instead of DataGrid), I
should be able to show the recordset in the grid, add new records, and
update or delete existing records. I can show the recordset in the grid, and
I can change a record in the grid. When I move the cursor to another record,
I thought the ADODC would update the DB2 table to reflect the change. It
doesn't work, and I don't get an error message. Of course, the change in the
grid was temporary, too.

What am I doing wrong? Thanks for any help you can offer me.

Mikki




Mon, 25 Apr 2005 07:08:53 GMT
 
 [ 1 post ] 

 Relevant Pages 

1. Adding/deleting records in VC++ using an ADODC and DataGrid control

2. Datagrid results to new record in adodc control recordsource

3. AddNew records of Datagrid Results to different Adodc recordset

4. ADODC + DataGrid update from DB

5. VB.NET updating three tables at once via a datagrid

6. How do I extract a DB2 table from an image copy tape on OS390

7. Sorting using ADODC and Datagrid

8. Using DataGrid, ADODC, & Textbox

9. Developing IBMVA JDBC with NT DB2 driver to run on OS390 DB2 driver

10. Developing IBMVA JDBC with NT DB2 driver to run on OS390 DB2 driver

11. table update using datagrid


 
Powered by phpBB® Forum Software