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  

want to save the record number in a field



 
 
Thread Tools Display Modes
  #1  
Old November 24th, 2009, 06:33 PM posted to microsoft.public.access.tablesdbdesign
fransquest
external usenet poster
 
Posts: 1
Default want to save the record number in a field

This shold be simple, but I can't find and info on it. When starting a new
record I would like to populate a field with the record number and save it in
in the table.
  #2  
Old November 24th, 2009, 06:43 PM posted to microsoft.public.access.tablesdbdesign
KARL DEWEY
external usenet poster
 
Posts: 10,767
Default want to save the record number in a field

Record numbers you see at the bottom of the display are 'relative' only.
Access stores records like a barrel of bricks, all in a jumble. You have to
sort the records in a query, form, or report.
But you can use a field with an Autonumber to number records. The numbers
may not be continous without gaps but will be a unique value.

--
Build a little, test a little.


"fransquest" wrote:

This shold be simple, but I can't find and info on it. When starting a new
record I would like to populate a field with the record number and save it in
in the table.

  #3  
Old November 25th, 2009, 03:04 AM posted to microsoft.public.access.tablesdbdesign
John W. Vinson
external usenet poster
 
Posts: 18,261
Default want to save the record number in a field

On Tue, 24 Nov 2009 10:33:03 -0800, fransquest
wrote:

This shold be simple, but I can't find and info on it. When starting a new
record I would like to populate a field with the record number and save it in
in the table.


What do YOU mean by "a record number"? Access doesn't have record numbers, so
you'll need to implement it yourself. Do you want a number assigned
sequentially in order of data entry? What if a record must be deleted: should
all later records get renumbered? Immediately, or can you do it in a batch
process periodically? If you change the order of records do you want the
record numbers to resequence? What specifically do you want these record
numbers to do for you?
--

John W. Vinson [MVP]
 




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 05:14 AM.


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