A little milestone..

Anything to do with Port.
Post Reply
User avatar
uncle tom
Dalva Golden White Colheita 1952
Posts: 3573
Joined: 22:43 Wed 20 Jun 2007
Location: Near Saffron Walden, England

A little milestone..

Post by uncle tom »

My database of port purchases has just reached its 1,000th entry - a couple of bottles of Gould Campbell '75.

This gives me a slight headache, since I had previously made the assumption that a three digit serial number would be plenty..!

..hmm..!

Tom
I may be drunk, Miss, but in the morning I shall be sober and you will still be ugly - W.S. Churchill
User avatar
DRT
Fonseca 1966
Posts: 15786
Joined: 22:51 Wed 20 Jun 2007
Location: Chesterfield, UK
Contact:

Re: A little milestone..

Post by DRT »

If you make an assumption taht all previously used serial numbers are prefixed with A you can start with B001 and you'll have another 25 x 999 serial numbers to use up before facing this headache again :wink:
"The first duty of Port is to be red"
Ernest H. Cockburn
Andy Velebil
Quinta do Vesuvio 1994
Posts: 3101
Joined: 21:16 Mon 25 Jun 2007
Location: Los Angeles, Ca USA
Contact:

Re: A little milestone..

Post by Andy Velebil »

Or simply add a "." and start over. 999.1, 999.2....999.1888 etc. But I like Derek's idea better
Glenn E.
Cálem Quinta da Foz 1970
Posts: 4511
Joined: 21:27 Wed 09 Jul 2008
Location: Seattle, WA, USA

Re: A little milestone..

Post by Glenn E. »

Depending on the database software that Tom is using, it would probably be far easier to simply modify the field in the database definition, or if that is not possible due to software constraints then re-create the database with a larger field and export/import to the new database.

Congratulations on 1000 purchases!
Glenn Elliott
User avatar
DRT
Fonseca 1966
Posts: 15786
Joined: 22:51 Wed 20 Jun 2007
Location: Chesterfield, UK
Contact:

Re: A little milestone..

Post by DRT »

Glenn E. wrote:Depending on the database software that Tom is using, it would probably be far easier to simply modify the field in the database definition
I think Tom's problem is more likely to be connected with the thousands of hand-written neck tags in his cellar that use the 3 digit format :?
"The first duty of Port is to be red"
Ernest H. Cockburn
Glenn E.
Cálem Quinta da Foz 1970
Posts: 4511
Joined: 21:27 Wed 09 Jul 2008
Location: Seattle, WA, USA

Re: A little milestone..

Post by Glenn E. »

DRT wrote:
Glenn E. wrote:Depending on the database software that Tom is using, it would probably be far easier to simply modify the field in the database definition
I think Tom's problem is more likely to be connected with the thousands of hand-written neck tags in his cellar that use the 3 digit format :?
In a switch to 4 (or 5, or 6) digits, any 3-digit number is presumed to start with '0'. Or as many 0s as necessary to give it the proper number of digits. :wink:
Glenn Elliott
User avatar
uncle tom
Dalva Golden White Colheita 1952
Posts: 3573
Joined: 22:43 Wed 20 Jun 2007
Location: Near Saffron Walden, England

Re: A little milestone..

Post by uncle tom »

Thanks for the suggestions.

I think what I will do is write a macro that will scan the database for all the entries that have either been sold or drunk to extinction, and increase their case number by 1000. This will liberate 248 three digit numbers for re-use.

When they are exhausted, I can run the macro again, liberating a further set of numbers..

..as my ambitions for my cellar edge closer to completion, that will hopefully give me enough!

Tom
I may be drunk, Miss, but in the morning I shall be sober and you will still be ugly - W.S. Churchill
User avatar
ac-fast
Niepoort LBV
Posts: 279
Joined: 19:29 Tue 18 Mar 2008
Location: Denmark

Re: A little milestone..

Post by ac-fast »

You can also solve the problem by drinking.....:-)
Any time not spend drinking port, is a waste of time.
User avatar
Alex Bridgeman
Croft 1945
Posts: 16450
Joined: 12:41 Mon 25 Jun 2007
Location: Berkshire, UK

Re: A little milestone..

Post by Alex Bridgeman »

If you find that another 248 numbers are not enough, I'd be happy to help drink some other entries to extinction. Consider me a willing volunteer.
Top 2025: Quevedo 1972 Colheita, b.2024. Just as good as Niepoort 1900!

2026: DR Very Old White, Graham Stone Terraces 2011, Quevedo Branco 1986 b.2026
User avatar
DRT
Fonseca 1966
Posts: 15786
Joined: 22:51 Wed 20 Jun 2007
Location: Chesterfield, UK
Contact:

Re: A little milestone..

Post by DRT »

uncle tom wrote:I think what I will do is write a macro that will scan the database for all the entries that have either been sold or drunk to extinction, and increase their case number by 1000. This will liberate 248 three digit numbers for re-use.
You need to leave evidence of this re-use in your data so that future historians are not baffled when they try to work out what the late Lord Archer of Cambridgeburghshire was buying and drinking ye olden days of the early 21st century :wink:
"The first duty of Port is to be red"
Ernest H. Cockburn
User avatar
mosesbotbol
Warre’s Otima 10 year old Tawny
Posts: 650
Joined: 18:54 Wed 18 Jul 2007
Location: Boston, USA

Re: A little milestone..

Post by mosesbotbol »

Drink down a couple hundred by the new year and you'll have a buffer.
F1 | Welsh Corgi | Did Someone Mention Port?
User avatar
Alex Bridgeman
Croft 1945
Posts: 16450
Joined: 12:41 Mon 25 Jun 2007
Location: Berkshire, UK

Re: A little milestone..

Post by Alex Bridgeman »

You could probably publish a list of the ports that you have purchased and drunk to extinction. There is at least one port drinker I know who suffers from OBCS* and would buy a copy of that list.

OBCS - old book collector syndrome
Top 2025: Quevedo 1972 Colheita, b.2024. Just as good as Niepoort 1900!

2026: DR Very Old White, Graham Stone Terraces 2011, Quevedo Branco 1986 b.2026
User avatar
DRT
Fonseca 1966
Posts: 15786
Joined: 22:51 Wed 20 Jun 2007
Location: Chesterfield, UK
Contact:

Re: A little milestone..

Post by DRT »

AHB wrote:You could probably publish a list of the ports that you have purchased and drunk to extinction. There is at least one port drinker I know who suffers from OBCS* and would buy a copy of that list.

OBCS - old book collector syndrome
I'll buy one! Especially if you can make it look old and dusty and sign the inside cover :wink:
"The first duty of Port is to be red"
Ernest H. Cockburn
Post Reply