A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Append Query and Autonumbering



 
 
Thread Tools Display Modes
  #1  
Old February 24th, 2010, 03:38 PM posted to microsoft.public.access.tablesdbdesign
Sharon
external usenet poster
 
Posts: 491
Default Append Query and Autonumbering

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.
  #2  
Old February 24th, 2010, 06:40 PM posted to microsoft.public.access.tablesdbdesign
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default Append Query and Autonumbering

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" wrote in message
...
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.



 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:00 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.