calculated fields
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 » Calculated Fields

Calculated Fields

resolvedResolved · Low Priority · Version Standard

replyReply Tue 12 Feb 2008, 14:52Delegate Sarah said...

Sarah has attended:
Access Intermediate course
Access Intermediate course
Access Advanced course
Project Management course

Calculated Fields

Hi,

I am trying to remember how to create a calculated field such that I create a personal "ID" from the autonumber (which is held in another column) so that they all read (for example) "ABC3554" instead of the simple autonumber of "3554".

Many thanks

For upcoming training course dates see: Pricing & availability

replyReply Tue 18 Mar 2008, 11:04Trainer Pete said...

RE: Calculated Fields

Hi Sarah, Thank you for the post, in answer to your question this requires you to create a concatenated field in a query, you will need another field which will hold the prefix we will call this field [prefix] and join this field to the autonumber field, in your query design grid in a blank field enter the following: NewID:[prefix]&[OldID] where NewID: is to be the label and [OldID] your existing autonumber field name. The concatenated field will then be available as an autonumber field in a form or table for new entries. I hope that jogged your memory, best regards Pete.

 

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

Access tip:

Display current date & time in column of any width

The worksheet function =NOW() returns the current date & time. When entered into a column which is not wide enough to display the value NOW returns, the cell displays ###

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