forms
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 » Forms

Forms

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

resolvedResolved · Low Priority · Version 2003

Forms

Sinal has attended:
Access Intermediate course
Access Advanced course

by - delegate Sinal [1 post] (2008 Jun 3 Tue, 16:30) replyReply

how to use different formulas

Access VBA 2 day course
Version Date Location Places
available
Book Next place rate:
Card Invoice
2003 2008 Dec 4 Thu + 5 Fri Southwark 7 book now £345 £399
2003 2009 Jan 8 Thu + 9 Fri Southwark 7 book now £345 £399
2003 2009 Feb 5 Thu + 6 Fri Southwark 8 book now £275 £399
2003 2009 Mar 5 Thu + 6 Fri Southwark 7 book now £345 £399
2003 2009 Apr 8 Wed + 9 Thu Southwark 8 book now £275 £399
2003 2009 May 7 Thu + 8 Fri Southwark 8 book now £275 £399
Full Schedule: See all 12 Access VBA course dates.
Bookings currently available until 5th November 2009.

RE: Forms

by - delegate Mark silver contributer[50 posts] (2008 Jul 1 Tue, 23:17) replyReply

Hello Sinal,

there are various ways to use formulas. One of the easiest examples to use is an on form formula. If you have a tabular form that shows more than one record on the form and you have a field that is numerical, for example Price then you can easily get a total of what is on the form by doing the following.

Go to design view and add a text box into a convienient space (you might be able to create space if need be by pulling out a bit of form space from the bottom edge of the footer bar). The text box you have created will currently be showing 'Unbound'. Over-write this with =Sum([Price]). Go to form view and you will see the total. You can use the label appropriately to show Total Value etc. If your field is not Price then put what ever its name is as it appears in design view on the form. The curve brackets is the way to use the Sum function--it tells Access to do a sum on what is in the brackets. The square brackets tells Access to look for a field name. You can alter the above equation or create a further text box as required, to do a different calculation. For example you may need to add VAT at 17.5% so you would insert =(Sum([Price]))*1.175

You can multiply two fields within a query to add a new column showing results against each record. If the field names are Quantity and Price then you would type into a new blank column in the query desing grid (a query having Quantity and Price columns in it). You would type into the top row the following. Total: ([Quantity]*[Price]) In this example you don't need sum because it is just a multiplication within each record line. I have mentioned Sum as an operator but there are many others available, which you can see via Help when you have Access open.

I hope this was helpful.
Mark

RE: Forms

by - trainer Pete platinum contributer[799 posts] (2008 Jul 10 Thu, 11:25) replyReply

Hi Sinal,

To add a little bit to Mark's useful response, formulas in Access are usually built either in queries or on Forms and Reports, if you are comfortable with the syntax of a formula you can type it directly into the field (Ab) from the Toolbox, or you can use the Expression Builder.

Using the Expression Builder gives you access to many different functions and formulas and enables you to 'build' your required calculation into the field. If you open the Expression Builder and check out the Functions option (double click on it) you will see a number of formulas for you to choose from.

You will know what type of calculation you are hoping to achieve, the Functions option will give you the formula to apply it.

I hope that has helped, regards Pete


Related articles

· Get More Out of MS Access Courses
· Quick Access Course: Creating a Customer Contact Database in 8 Simple Steps
· MS Access and Database Normalisation
· Want to Become the Office Hero? MS Project Training Could be the Answer
· How To Find Good Access Database Courses In London

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

Access tip:

Closing form after a certain time period

To make a form close automatically after a certain time period, you need to assign the close function to a macro.

Save the macro and ope up the form in design view. open the Properties sheet.

In the TimerInterval property enter the length of time you want the form open for. This should be in milliseconds, so for instance if you want the form open for 5 seconds enter 5000, for an minute enter 60000.

You now need to attach your macro (to execute the Close action) to the OnTimer event property of the form.



View all Access hints and tips

Institute of IT Training - Accredited Training Provider Microsoft Certified Partner
microsoft office
Microsoft Office Specialist Authorised Testing Centre (MOS and MCAS)

Prodigy Platinum Learning Partner

Institute of IT Training - Accredited Training Provider 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

Training Articles

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