Forum home » Delegate support and help forum » Microsoft Access Training and help » Subtracting on field value from another
Subtracting on field value from another
Resolved · Medium Priority · Version 2003
Subtracting on field value from another
I would like to deduct the value of one field from another in a query. The information is in two different tables within the query.How do I do this???
Regards,
For upcoming training course dates see: Pricing & availability
RE: Subtracting on field value from another
Hi Ross,Thank you for your question.
The two tables should be linked first.
Create a query and insert the appropriate fields needed for the new calculation. In the next available blank field type the name of the new calculated field followed by a colon to show that is the end of the field name:
e.g. LengthOfService:[HireDate]-[FinishDate]
After you have type the formula in make sure you click the Show checkbox.
I hope this answers your question.
Regards
Simon
Tue 29 Sep 2009: Automatically marked as resolved.
|
|
How To Use Excel To Create Large SQL Insert Statements When adding records to a SQL database, data is often given in the format of an excel spreadsheet and it is up to the user to import the data into the database. It is impractical and time consuming to update an individual insert statement for each record. Instead, use excel as a resource to quickly and simply create a series of Insert statements which will also minimise human error. » Article: Excel consultancy |
» Forum post: Powerpoint |
» Tip: Use VbNullString in VBA |



Course updates

