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

Query Help

Status
Not open for further replies.

Cadteach

Technical User
Nov 21, 2004
6
US
I have a database which lists address in one field and a field named "DISPLAY" which is a Y/N field. The database gets updated weekly. All addresses are in the database originally after update. I'd like to use the Y/N field to show or delete the address field. If the field is N, then the address gets deleted.

I'd like to use a query just after the weekly update to accomplish this, but I have never written anything more than some simple select queries.

Any help for a newbie?
 
Would this statement work?

UPDATE tablename SET address=" " WHERE Display="N
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top