possible to update 2 fields in VBA qry (1 Viewer)

BennyLinton

Registered User.
Local time
Today, 05:22
Joined
Feb 21, 2014
Messages
263
Is it possible to update two different fields within the below UPDATE code?

Code:
With CurrentDb.CreateQueryDef("", "UPDATE Applicants set Applicants.Emailed = -1 WHERE Applicants.[GCDF No] = @1")
.Parameters(0) = rs(0)
.Execute
End With
 

Ranman256

Well-known member
Local time
Today, 08:22
Joined
Apr 9, 2015
Messages
4,337
yes. put the sql with all the updates.
you dont even need sql, use queries.
 

Users who are viewing this thread

Top Bottom