1 1 1 1 1 1 1 1 1 1 Rating 5.00 (2 Votes)

Für 32Bit und 64Bit Office Versionen

Problemstellung:

Mit DAO kann man bequem Aktualisierungen mit der CurrentDb.Execute-Methode durchführen.
Wie geht das aber mit ADO?


Verweis auf die Microsoft ActiveX Data Objects 2.X Library erforderlich
Verweis auf die Microsoft ADO Ext. 2.X for DDL and Security Library erforderlich

Mit DAO:

1
2
CurrentDb.Execute _
"UPDATE Artikel SET VKPreis = VKPreis * 1.05;"


Mit ADO:

1
2
CurrentProject.Connection.Execute _
"UPDATE Artikel SET VKPreis = VKPreis * 1.05;"
 

Ähnliche Artikel