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

Field Updating Field 1

Status
Not open for further replies.

Greg25

Technical User
May 30, 2001
159
US
Hi
I am working with SQL 7 & Access 2000
I am not a programmer

Trying to have field 1 (last cost center) update to “14”
When field 2 (Billed job) = 1
This is all on the table order_entry

It sounds as if it could be done using a trigger or/an if ?
But just don’t know how to write the info or what to do with it

I wish there could be something I could help you people with

I mostly know graphic applications and files Quark, Ill, Photoshop, Freehand ect.

Thanks again Greg
 
Hi there,
Try to execute following
--------------------
UPDATE order_entry
SET last_cost_center = 14
WHERE billed_job = 1

--------------------

Hope it helps!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top