Finding max value for a field

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13365
interpreted = N
texte = I want to generate a sequential series of ID numbers for database records (I have to do this separately from the [cart] function).Is there an easy way to quickly look up the maximum value in a particular field for all database records? I can then use [math] to make the next number.Thanks, Pat McCormick Associated Messages, from the most recent to the oldest:

    
  1. Re: Finding max value for a field (Pat McCormick 1997)
  2. Re: Finding max value for a field (Kenneth Grome 1997)
  3. Re: Finding max value for a field (Kenneth Grome 1997)
  4. Re:Finding max value for a field (Jay Van Vark 1997)
  5. Finding max value for a field (Pat McCormick 1997)
I want to generate a sequential series of ID numbers for database records (I have to do this separately from the [cart] function).Is there an easy way to quickly look up the maximum value in a particular field for all database records? I can then use [math] to make the next number.Thanks, Pat McCormick Pat McCormick

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:

Entry point? Security w/ dbase helper? (1997) [OT] Private Email (2002) WebCat 4.0 & WebMerchant (2000) serial number generation (1997) Paths (1998) [SHOWNEXT] Examples (1997) Summary search -- speed (1997) WebCat2.0 acgi vs plugin (1997) Pirated WebCat? NOT... (2003) Only charge card when product shipped ? (1997) E-mailer error codes (1997) Close Databases Crash? (1998) getchars broken? (1997) Pithy questions on webcommerce & siteedit (1997) [SearchString] problem with [search] context (1997) Generating Report Totals (1997) AOL (1999) The future of WebCatalog is coming with 4.0... (2000) webcat NT (1998) WC2.0 Memory Requirements (1997)