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!

Adding Data to Fields in a Table.

Status
Not open for further replies.

gregmw

MIS
Jun 11, 2002
23
NZ
I have a table called "Data" there are fields in "Data" called "Client" and "Result" I want to return a value into the field called "Result" based on what the "Client" field holds it is easy enough to do with a query but what is the VBA code for it?? Thanks
 
Currentdb.execute("UPDATE [Data] SET [Result] = whatever WHERE [Client] = condition")
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top