microsoft+access+course - expression builders
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Access Training and help » microsoft+access+course - Expression Builders

microsoft+access+course - Expression Builders

resolvedResolved · Low Priority · Version Standard

replyReply Thu 24 Jan 2008, 17:02Delegate Elaine said...

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

Expression Builders

Is there a difference between using [] and ()?

For upcoming training course dates see: Pricing & availability

replyReply Mon 28 Jan 2008, 12:35 Edited on Mon 28 Jan 2008, 12:35Trainer Carlos said...

RE: Expression Builders

Hi Elaine

In Access the [] square brackets are used to indicate to the system the names of fields or other objects in the database.

The () round brackets are used in the functions.

So to Add together all the Amount field values you write:

=Sum([Amount])

Hope this hepls.

Carlos

 

Access tip:

Open A Combo Box Automatically

This is helpful if users need to enter large amounts of data. There are two ways to open ComboBoxes when they get the focus by using the tab keys.

When the ComboBox gets focus:

Press Alt + Down Arrow on the keyboard

For it to happen automatically, needs a bit of coding:

1. Add a combo box and a text box control to the form
2. Set the combo box's On Got Focus property to the following event procedure:

Private Sub ComboBoxName _GotFocus()

Me!ComboBoxName.Dropdown

End Sub


3. Open your form in Form View and use the TAB key to make sure it works.

View all Access hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard