D
Daniel
I am using Access2000 and would like to insert/update
rows in an Oracle table(MA) that is defined as a link in
my Access MDB. Can I use a Recordset such as
Dim rst2 As Recordset
Set dbs = CurrentDb
Set rst2 = dbs.OpenRecordset("MA")
rst2.Index = "PK1_KSMA"
rst2.Seek "=", "8WD404"
If rst2.NoMatch Then
rst2.AddNew
rst2!MA_KEY2 = "8WD404"
rst2!MA_PRICE_DISC1 = 19.55
rst2.Update
Else
rst2.Edit
rst2!MA_PRICE_DISC1 = 19.55
rst2.Update
End If
rst2.Close
Any help would be greatly appreciated. Thanks
rows in an Oracle table(MA) that is defined as a link in
my Access MDB. Can I use a Recordset such as
Dim rst2 As Recordset
Set dbs = CurrentDb
Set rst2 = dbs.OpenRecordset("MA")
rst2.Index = "PK1_KSMA"
rst2.Seek "=", "8WD404"
If rst2.NoMatch Then
rst2.AddNew
rst2!MA_KEY2 = "8WD404"
rst2!MA_PRICE_DISC1 = 19.55
rst2.Update
Else
rst2.Edit
rst2!MA_PRICE_DISC1 = 19.55
rst2.Update
End If
rst2.Close
Any help would be greatly appreciated. Thanks