PC Review


Reply
Thread Tools Rate Thread

Append Query and Autonumbering

 
 
Sharon
Guest
Posts: n/a
 
      24th Feb 2010
Using Access 2007; have 2 student db last year and this year, using
autonumber as identifier. when i append old student to new db so that they
keep old number; it causes the new db to change the autonumber when i add a
new record to the 1 plus the old number instead of using new new numbers; did
not have this problem in access 2003. when i appended records it put the
record in and kept old number and then when i added a new record, it gave
them next number.
 
Reply With Quote
 
 
 
 
Jeff Boyce
Guest
Posts: n/a
 
      24th Feb 2010
Sharon

If you are saying that you have one database for last year and another
database for this year, you don't have relational databases! You have ...
spreadsheets!

In a well-normalized relational database design, you'd have a table for your
data with one additional field. That might be a date/time field, or a
[SchoolYear] field, or ...

But even more importantly, you wouldn't need to put the same student into
the database twice to show participation in two school years.

If "relational" and "normalization" are unfamiliar, plan on spending some
time coming up to speed on this learning curve if you want to get the best
use of Access' relationally-oriented features/functions.

Regards

Jeff Boyce
Microsoft Access MVP

--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.

Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.

You can thank the FTC of the USA for making this disclaimer
possible/necessary.

"Sharon" <(E-Mail Removed)> wrote in message
news:C2B7F409-2EDC-4185-AABA-(E-Mail Removed)...
> Using Access 2007; have 2 student db last year and this year, using
> autonumber as identifier. when i append old student to new db so that they
> keep old number; it causes the new db to change the autonumber when i add
> a
> new record to the 1 plus the old number instead of using new new numbers;
> did
> not have this problem in access 2003. when i appended records it put the
> record in and kept old number and then when i added a new record, it gave
> them next number.



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Autonumbering Query Reva Microsoft Access 1 11th May 2010 03:55 AM
Append query to append lots of record with range input domibud Microsoft Access Queries 7 9th May 2008 02:26 AM
Coded Append Query doesn't append all info? Bumbino Microsoft Access Form Coding 1 26th Jan 2008 06:58 PM
Append Query in VBA - to append VBA variable values to Access tabl =?Utf-8?B?QWdlbnQgRGFnbmFtaXQ=?= Microsoft Access VBA Modules 4 1st Nov 2006 04:25 PM
Link CSV file created query append query to append data =?Utf-8?B?ZXNwYXJ6YW9uZQ==?= Microsoft Access Queries 2 5th Jul 2005 04:49 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:55 PM.