Re: generate sequential numbers
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 26338
interpreted = N
texte = This is very easy to do.The method that woks for me is to have a db with two fields in it. Thefirst is just for something to search. I always call it AAA and fill thefield with AAA. The second field is your number. Start it at whatever youwant. 000001Once you have the db, all you have to do is lookup AAA and get the numberand then add 1 to it. Then you replace the old number 000001 with the newnumber 000002.D.--David BastedoNew Media AuthorMacLaren McCann Interactivedavid.bastedo@maclaren.com416.594.6779http://www.maclareninteractive.com/> From: Scott Nelsen
> Date: Fri, 21 Jan 2000 13:35:57> To: WebDNA-Talk@talk.smithmicro.com> Subject: generate sequential numbers> > > > I posted this about a month back but got no replies. Perhaps it can't be> done - can somebody please confirm?> > I want to design a web invoice that will assign a sequential invoice> number. Is this possible? I am sure that it can somehow be done using a> CGI like many sites do that states how many times a page has been accessed> but I'd rather do it within WebCatalog.> > Thanks,> > Scott> > > -------------------------------------------------------------> Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging> Server.> To end your Mail problems go to .> > This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> -------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
Associated Messages, from the most recent to the oldest:
This is very easy to do.The method that woks for me is to have a db with two fields in it. Thefirst is just for something to search. I always call it AAA and fill thefield with AAA. The second field is your number. Start it at whatever youwant. 000001Once you have the db, all you have to do is lookup AAA and get the numberand then add 1 to it. Then you replace the old number 000001 with the newnumber 000002.D.--David BastedoNew Media AuthorMacLaren McCann Interactivedavid.bastedo@maclaren.com416.594.6779http://www.maclareninteractive.com/> From: Scott Nelsen > Date: Fri, 21 Jan 2000 13:35:57> To: WebDNA-Talk@talk.smithmicro.com> Subject: generate sequential numbers> > > > I posted this about a month back but got no replies. Perhaps it can't be> done - can somebody please confirm?> > I want to design a web invoice that will assign a sequential invoice> number. Is this possible? I am sure that it can somehow be done using a> CGI like many sites do that states how many times a page has been accessed> but I'd rather do it within WebCatalog.> > Thanks,> > Scott> > > -------------------------------------------------------------> Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging> Server.> To end your Mail problems go to .> > This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> -------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
David Bastedo
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Upgrade to WebCat2 from Commerce Lite (1997)
Sami (1998)
Use of Back and Reload Buttons on ShoppingCart page? (1997)
Looking for WebCat developer/contractor (2000)
ThreadMem ignored? (1998)
webmerch and serials - almost there (1997)
WebMerchant Error (1998)
WebDNA 6 (2004)
[format xs] freeze (1997)
Help!!!! (1997)
WebCatalog for guestbook ? (1997)
Hello??? (1997)
Purchased cart being overwritten - still !?? (1997)
[LOOKUP] (1997)
forms and variables (1998)
2nd WebCatalog2 Feature Request (1996)
default error on NT? (1997)
shownext not showing next...still r2 (1997)
Moment of Thanks (1997)
Error: SQL not supported (2001)