access
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 » Access

Access

resolvedResolved · High Priority · Version 2003

replyReply Wed 30 Apr 2008, 15:17Delegate Lisa said...

Lisa has attended:
Access Advanced course

Access

I have an access database and need to create calaculate field against dates entered e.g. count number of days between two dates. The database has a data entry form. Is it best to do the calculations in a query or in the form?

For upcoming training course dates see: Pricing & availability

replyReply Thu 1 May 2008, 17:00Trainer Simon said...

RE: Access

Hi Lisa,

You could do it either way. Personally, I would create an unbound control in design view of the form using the toolbox. Then right click over the control and select properties. Go to the data tab and then click on the ... next to Control Source and you can build your formula from there using the fields in your form or from any of the tables.

I hope this has answered the question.

Regards

Simon

replyReply Fri 2 May 2008, 09:09Delegate Lisa said...

RE: Access

Thanks Simon. I thought it might be the best way but wanted to be sure.

Regards Lisa

 

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

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