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!

update query 1

Status
Not open for further replies.

peljo

Technical User
Mar 3, 2006
91
BG
I want to build a query that updates the field branch4 to the field items4 and the sum obtained to divide to the field pack.My query cannot update can you help ?
Here is my query :
UPDATE products1 SET products1.branch4 = [products1].[items4]/[products1].[pack];
 
Perhaps this ?
UPDATE products1
SET branch4 = [items4]/[pack]
WHERE Nz(pack,0)<>0

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top