Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NEED TO LIMIT NUMBER OF PEOPLE

Status
Not open for further replies.

DuMoore

Instructor
Dec 12, 2002
17
US
Is there any way that I can limit the number of people who sign up for a specific item. I have 8 products to sell at a given time, and can not sell any more than those 8.

Is there a way that I can implement a script that will tell everyone that signs up after the 8th person that there are no products left?

Any and all help is MAJORLY appreciated.
 
your request is not clear. -----------
when they don't ask you anymore, where they are come from, and they don't tell you anymore, where they go ... you'r getting older !
 
DO you keep track of the sales? Can you just keep the assets_in_stock data in a database somewhere, and everytime someone orders a product, the assets_in_stock value is decreased? When the assets_in_stock value for a certain product reaches zero, then orders would be declined or delayed...

Your problem is REALLY generic.

--jim * * * Merry Christmas and Happy New Year! * * *

( Don't touch that Red Flag link you crazy freak, it's just a holiday greeting! )
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top