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!

ADODC problem

Status
Not open for further replies.

praveensg

Programmer
May 15, 2002
26
GB
hi
well this is my problem
i have connected 2 adodc controls to 2 tables respectively...

the first data control is connected thru a datagrid...
i have an add button for adding records to the first table
so each record is added thru the adodc as well as the datagrid...
but the problem is that the last record gets added only in the first table

i open the other table using a different datagrid in another form...
when i first open the form the last record is not displayed...

only when i open it the second time, it gets displayed

i think there is some problem with the recordset updation of the adodc's

please guide me
thanx
 
Track this in steps. Update the first grid. Then go to the data base and querry your table to see if the new data is there. If so then it could be a refresh problem with the second control. I think that you will find a reQuerry command in the control. If you have already set your recordsource you might want to reQuerry.

HTH
vb_doc@hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top