WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

numbering system

 
   Home -> Office other -> Table Design RSS
Next:  combining different databases into 1 large with s..  
Author Message
MK

External


Since: Apr 12, 2006
Posts: 5



(Msg. 1) Posted: Thu Oct 09, 2008 2:27 pm
Post subject: numbering system
Archived from groups: microsoft>public>access>tablesdbdesign (more info?)

I am starting a logsheet database. I want each entry to begin with letter,
then the year, then a sequential number. Such as case number. I tried the
input mask, defining it as text and the sequential part remains zero.I
entered "R-08-"0000

example R-08-0001, R-08-0002, etc.
Any ideas will be appreciated, thank you. MK
Back to top
Login to vote
Jeff Boyce

External


Since: Nov 04, 2004
Posts: 3937



(Msg. 2) Posted: Thu Oct 09, 2008 4:43 pm
Post subject: Re: numbering system [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

There's a difference between what gets stored in relational database tables
and what you display for the users.

There's no need to store the "R" if every record will start with "R".

There's no need to store the "YY" if your record has a Date/Time field
that's being filled.

A "sequence number" is something you'll need to add a small procedure to
handle. Look up "custom autonumber" on-line and/or at mvps.org/access for
leads on this, and on how to get that sequence number to "reset" to 0001
when you get to 2009.

If you want to SEE (i.e., display) "R-08-0001", use a query to concatenate
the pieces together.

Regards

Jeff Boyce
Microsoft Office/Access MVP

"MK" <MK.TakeThisOut@discussions.microsoft.com> wrote in message
news:BB51EB3A-8D18-4C9D-AAFE-ED24E0DF8FDF@microsoft.com...
>I am starting a logsheet database. I want each entry to begin with letter,
> then the year, then a sequential number. Such as case number. I tried the
> input mask, defining it as text and the sequential part remains zero.I
> entered "R-08-"0000
>
> example R-08-0001, R-08-0002, etc.
> Any ideas will be appreciated, thank you. MK
Back to top
Login to vote
Steve

External


Since: Jul 10, 2008
Posts: 330



(Msg. 3) Posted: Thu Oct 09, 2008 8:13 pm
Post subject: Re: numbering system [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

The design of every database begins with determining what needs to be
recorded and how the data will be used. It seems you first need to think
through why you even want to record this information. Please explain to us!

Steve


"MK" <MK.TakeThisOut@discussions.microsoft.com> wrote in message
news:BB51EB3A-8D18-4C9D-AAFE-ED24E0DF8FDF@microsoft.com...
>I am starting a logsheet database. I want each entry to begin with letter,
> then the year, then a sequential number. Such as case number. I tried the
> input mask, defining it as text and the sequential part remains zero.I
> entered "R-08-"0000
>
> example R-08-0001, R-08-0002, etc.
> Any ideas will be appreciated, thank you. MK
Back to top
Login to vote
Display posts from previous:   
       Home -> Office other -> Table Design All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
 Windows Other
 Office
  Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET