access training course - access primary keys
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 » access training course - Access Primary Keys

access training course - Access Primary Keys

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

resolvedResolved · Low Priority · Version Standard

Access Primary Keys

Reza has attended:
Excel Advanced course

by - delegate Reza [12 posts] (2007 Aug 24 Fri, 19:40) replyReply

I have got two questions; In regards with primary key, how can access increment user specified PK. In other words, if I decide to set my OWN primary key (i.e. 9874, 9875, 9876,...) how can we assign Access to increment by one each time we enter the new data/record in form.

My next question is, I have seen in other forms that once user enters the date into one field, the information for other specified field retrieved automatically. For example, as soon as I insert the Date into my Date Field of my form, the Week number pops out into my Week Number field. I think this is something to do with Lookup/Searching wizard.

Thank you

Access Intermediate 1 day course
Version Date Location Places
available
Book Next place rate:
Card Invoice
2003 2008 Dec 2 Tue Southwark 3 book now £210 £215
2007 2008 Dec 5 Fri Bloomsbury 4 book now £224 £224
2003 2008 Dec 9 Tue Bloomsbury 0 FULL    
2002/XP 2008 Dec 11 Thu Tooting 0 FULL    
2003 2008 Dec 18 Thu Bloomsbury 3 book now £210 £215
2003 2008 Dec 23 Tue Bayswater 8 book now £182 £207
Full Schedule: See all 53 Access Intermediate course dates.
Bookings currently available until 24th November 2009.

RE: Access Primary Keys

by - trainer David gold contributer[428 posts] (2007 Sep 5 Wed, 12:21) replyReply

Hi Reza

As far as the primary keys in Access goes, you just need to set the start number of the primary key and then Microsoft Access will auto-increment the same as normal. So you are still using auto-number, but you are just giving Access a user defined start number.

In relation to the auto fill, you would be best by checking with the developer of you system as they could be using vba or visual basic coding.

Hope this helps
David

RE: Access Primary Keys

by - delegate Reza [12 posts] (2007 Sep 16 Sun, 18:44) replyReply

Hi David,

I have tried on many occasions to define my own start number for primary key and let Access to auto-increment it. Still it does not work. Can you please instruct me step-by-step how do I define it.

Also recently I have error msg "OpenReport Action Cancelled " when I attempt to click on my buttons. Any solutions?

Regards
Rez


Related articles

· Microsoft Access Beginners' Training: Getting to Grips with Databases
· Quick MS Access Training: Creating Custom Database Tables in 12 Simple Steps
· Convert a Paper Trail to a DBMS
· Reasons to Consider Microsoft Access Training
· Microsoft Access 2007: New Features

Access tip:

Create calculated fields that work out your age

You can uset eh year function to work out the year from NOW function and then subtract it with your date of birth type field

Age=Year(Now( ))-Year([DoB])

View all Access hints and tips

Rate this page:
4.0/5 (3 votes cast)
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