Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

RE: FN-FORUM: Stupid Access question

date posted 15th August 2005 16:08

If you can't use autonumber then you'l have to wrap it in a transaction
and do as you've suggested with a max(orderid) + 1



-----Original Message-----
From: [EMAIL REMOVED] [EMAIL REMOVED] On Behalf Of PAMELA
WHITTAKER
Sent: Monday, August 15, 2005 4:42 PM
To: Andy Macnaughton-Jones
Subject: Re: FN-FORUM: Stupid Access question


Thanks. I can't use autonumber in this particular case but normally you
right that is the way to do it.


Pam






----- Original Message -----=20
From: "Andy Macnaughton-Jones" [EMAIL REMOVED]
To: [EMAIL REMOVED]
Sent: Monday, August 15, 2005 4:28 PM
Subject: RE: FN-FORUM: Stupid Access question


>
> Begin transaction and end transaction - but why not use the
> datatype-autonumber ?
>
> -----Original Message-----
> From: [EMAIL REMOVED] [EMAIL REMOVED] On Behalf Of
PAMELA
> WHITTAKER
> Sent: Monday, August 15, 2005 4:19 PM
> To: Andy Macnaughton-Jones
> Subject: FN-FORUM: Stupid Access question
>
>
> I can't find the answer on google. I have an Ecommerce site using
Access
> and a new Order ID is obtained by selecting the highest one on the
> Database and adding one. If two people access it at the same same time
> then they can end up with the same number. How do I lock the table in
> Access so that the second person can't access it until the first
person
> has written their Order. Is it "Lock table" or "set Transaction"?
>
> Thanks
> Pam
>
>
> --
> Freelancers, contractors earn more with Prosperity4 Call 0870 870 4414
> or visit www.prosperity4.com and benefit from Inland Revenue approved
> expenses today.
>
> To advertise here: http://www.freelancers.net/advertising.html
>
>
> --=20
> Freelancers, contractors earn more with Prosperity4
> Call 0870 870 4414 or visit www.prosperity4.com
> and benefit from Inland Revenue approved expenses today.
>
> To advertise here: http://www.freelancers.net/advertising.html
>
>=20
--=20
Freelancers, contractors earn more with Prosperity4
Call 0870 870 4414 or visit www.prosperity4.com
and benefit from Inland Revenue approved expenses today.

To advertise here: http://www.freelancers.net/advertising.html



Messages by Day
August 31st 2005
August 30th 2005
August 29th 2005
August 28th 2005
August 27th 2005
August 26th 2005
August 25th 2005
August 24th 2005
August 23rd 2005
August 22nd 2005
August 21st 2005
August 20th 2005
August 19th 2005
August 18th 2005
August 17th 2005
August 16th 2005
August 15th 2005
August 14th 2005
August 13th 2005
August 12th 2005
August 11th 2005
August 10th 2005
August 9th 2005
August 8th 2005
August 7th 2005
August 6th 2005
August 5th 2005
August 4th 2005
August 3rd 2005
August 2nd 2005
August 1st 2005


Messages by Month
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005


Messages by Year
2008
2007
2006
2005
2004
2003
2002
2001
2000