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

How to use .Execute method with DAO? 1

Status
Not open for further replies.

steve728

Programmer
Mar 16, 2003
536
US
I'm used to using:

CurrentProject.Connection.Execute "UPDATE tblName SET field1 = 'Steve' WHERE CustID = '1234'",,129 with ADO. How do I do the same thing when using DAO?

Steve728
 
Currentdb.Execute "UPDATE tblName SET field1 = 'Steve' WHERE CustID = '1234'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top