code_junkie

MS Access Math

Nov 12th, 2011
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. SELECT [Total] = [Labour Cost] * [Labour Hours] + [VAT]
  2.  
  3. UPDATE YourTableName SET [Total] = [Labour Hours] * [Labour Cost] + [VAT]
  4.  
  5. SELECT [Labour Cost],
  6. [Labour Hours],
  7. [VAT],
  8. [Labour Hours] * [Labour Cost] + [VAT] AS [Total]
  9. FROM YourTableName
  10.  
  11. total: [VAT] + [Labour Hours] * [Labour Cost]
Add Comment
Please, Sign In to add comment