query criteria
Microsoft Office Training verified by visa - mastercard securecode about microsoft training company london ukadd this page to your favourites/bookmarksAdd to favourites
view a printable version of this pagePrintable version
email this page to somebodyEmail this page
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Access Training and help » Query criteria

Query criteria

The UK's most regular instructor-led training courses.
Training information: access vba courses · Microsoft access courses · Microsoft Access Training
See also · microsoft access training · access vba courses · access database course

resolvedResolved · Low Priority · Version Standard

Query criteria

Emma has attended:
Access Introduction course
Access Intermediate course
Access Advanced course

by - delegate Emma [3 posts] (2008 Feb 25 Mon, 15:55) replyReply

in the query criteria box, can you do more formulae than just AND or IF?

Access Intermediate 1 day course
Version Date Location Places
available
Book Next place rate:
Card Invoice
2003/XP 2008 Aug 21 Thu Bloomsbury 0 FULL    
2003/XP 2008 Sep 2 Tue Southwark 3 book now £210 £215
2003/XP 2008 Sep 9 Tue Bloomsbury 6 book now £193 £215
2003/XP 2008 Sep 11 Thu Tooting 0 FULL    
2003/XP 2008 Sep 19 Fri Bayswater 5 book now £195 £205
2007 2008 Sep 23 Tue Bloomsbury 5 book now £212 £224
Full Schedule: See all 74 Access Intermediate course dates.
Bookings currently available until 24th November 2009.

RE: Query design view calculating fields

by - trainer Rajeev gold contributer[323 posts] (2008 Mar 6 Thu, 15:48) replyReply

Dear Emma

Thank you for attending the Access Course. I hope the course was beneficial to you!

Yes there are other calculations that you can perform other then simple AND OR queries!!

I am not sure if you have attended the Access Intermediate course or not you will or would have learnt that you can create a new field in a Query Grid box which can be used for calculating various fields.

This is how you would normally perform calculations based on other fields in Query!

Please refer to the Access file that I have uploaded with this post.

You’ll notice that the name of the database is Query calculations. In this Database there is a table called Order Details and I have created a Query called Sales_Query which has an extra field called Sales created by multiplying two fields.

I followed these steps to get the results:

Step 1: In Query design view I dragged and dropped all the relevant fields that I wanted in my query onto the grid box.
Step 2: On the grid box I clicked on the empty field and typed:
Sales: [UnitPrice]*[Quantity]

Sales is the name of the new field. The names of the fields are entered in square brackets [ ]
Step 3:In Query Datasheet view all the records show the new field where the Unit Price is multiplied by the Quanity.

I hope this helps.

If this posting has helped in answering your query then I would request you to mark the posting as Resolved. If, however, it hasn’t and you need further clarification then please press the reply button and ask for further clarification with your specific question. In case you have a related question then please as the question as a separate posting.

Kindest Regards

Rajeev Rawat
MOS Master Instructor 2000 and 2003

Attached files...

Query caluclations.mdb


Related articles

· Microsoft Access Training Unleashes the Power of the Pivot Table
· Access VBA Training Adds Power to your Databases
· 3 Useful Things You'll Learn in Microsoft Access Training Courses
· Microsoft Access: Unleash the True Potential Today
· Microsoft Access Mistakes to Avoid

Please browse our web site to find out more about
access vba courses and other Microsoft training courses.

Access tip:

Create a custom Close button on a Form

By default, Forms that you create in Access have a full set of control buttons, that is, a title bar with Minimize, Maximize and Close buttons in the top right-hand corner and a Control Menu in the top left-hand corner.



Sometimes Access needs to follow certain procedures or events as users close a Form (such as automatically opening another Form perhaps). So it is often a good habit to create a custom Close button on a Form for everyone to use, rather than the standard closing cross.



To create a custom Close button:

1) In Form Design View, draw a Command Button onto the Form.

2) Use the Command Button Wizard to select Form Operations under Categories, and Close Form under Actions.

3) Choose Finish.



Access then creates the button and code to close the form for you. You can add any extra code that needs to run as the Form closes to the same Close procedure.



However, the creation of a custom Close button is pointless if the closing X in the top right-hand corner of the Form remains active. To make the closing X inactive, open the Form Properties box then on the Format tab set the Close Button setting to No. This will grey out the closing X leaving it visible, but inactive.



View all Access hints and tips

Institute of IT Training - Accredited Training Provider Institute of IT Training - Accredited Training Provider Prodigy Platinum Learning Partner Microsoft Office Specialist Authorised Testing Centre

Microsoft Registered Partner
microsoft office
ms office project server

Association of Computer Trainers Valid HTML 4.01 Transitional
Valid CSS Markup

secure online payments - visa - mastercard

Mini sitemap. These are the main areas of our web site. Full sitemap.

Training by application Main information pages See also

Access courses
DreamWeaver courses
Excel courses
MS Project courses
Outlook courses
PowerPoint courses
VBA courses
Word courses
(more...)

Public scheduled courses
On-site training
Closed company courses

Microsoft Office training
Pricing and availability
Training schedule
Training venues

Access training
Dreamweaver training
Excel training
MS Project training
PowerPoint training

London Computer Training
Computer Training London

Microsoft Access training
Microsoft Excel training
Microsoft Project training
Microsoft Outlook training
Microsoft Powerpoint training
Microsoft Word training

Time Management Course London

Interested in Access training? Please see the following pages:
microsoft access courses · microsoft training access course
microsoft+access+training · access courses in london

Training Information
AddThis Social Bookmark Button What's this?
Add to Del.icio.us Add to Facebook Add to Digg Add to Reddit Add to Google Add to Yahoo Add to Diigo Add to Mr. Wong Add to Linkarena Add to Power Oldie Add to Folkd Add to Jumptags Add to Upchuckr Add to Simpy Add to StumbleUpon Add to Slashdot Add to Netscape Add to Furl Add to Spurl Add to Blinklist Add to Blogmarks Add to Technorati Add to Newsvine Add to Blinkbits Add to Ma.Gnolia Add to Smarking Add to Netvouz