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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Update ORA DB with DataSet.Merge

Status
Not open for further replies.

sahernandez

Programmer
Oct 1, 2002
69
SV
I have this Code:
'when I fill my OraDset for the firts time its empty 0 rows
'My MySql DataSet has 408 rows

OleORAAdapt.AcceptChangesDuringFill = True
OleORAAdapt.Fill(OraDset, "GDDATA_MYSQL")
'Here I try to pass my Data from MySQL to ORA Dataset
'I'd already wrote my InsertCommand
OraDset.Merge(MySQLDset)
MsgBox("Ora Table Before" & OraDset.HasChanges())
OleORAAdapt.Update(OraDset, "GDDATA_MYSQL")
OraDset.AcceptChanges()
MsgBox("Ora Table After " & OraDset.HasChanges())
'At the end nothing happen, I fill a DataGrid with my OraDset result and is 408 row, but when I check my ORACLE DB is still ampty.

Please any some help with this
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top