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

Multiple Criteria update

Status
Not open for further replies.

jlg5454

Technical User
Jan 6, 2005
98
US
I have a problem that I having trouble resolving. I need field 1 to be updated based on multiple criterias. If field 2 is null set field 1 to off if field 1 = a hyphen '-' And if field 2 is not null set field 1 = to the value of field 2 that is not null. Is this possible?

Thanks,

Joe
 
Have a look at the IIf function.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Thanks it did! Put in iif statement in the update query.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top