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

updating a field that uses the Yes/No Data Type

Status
Not open for further replies.

badger8

MIS
Aug 3, 2001
34
US
I have a list of accounts that I would like to mark HTML_Unable. I have a field called Html_Unable that uses a yes/no data type.

How would I create an UPDATE SQL statement that would allow me to find all contacts within a specific account and set their Html_Unble value to yes?

Any direction in this would be great?

Thanks
Ray
 
Use the KeyWord "TRUE"



As in:-

"UPDATE tblCopyOver SET tblCopyOver.HTML_Unable = True
WHERE (((tblCopyOver.Field1) = 'ABC'));"

( Change the WHERE Clause to whatever you need to "find all contacts within a specific account" )

'ope-that-'elps

G LS
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top