What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Re: index code

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 63312
interpreted = N
texte = Good points! thank you Brian! chris On Oct 28, 2005, at 20:51, Brian Fries wrote: > Are you wanting these index values assigned randomly or > sequentially? Random is easier to generate (just pick two random > characters from the list of valid characters), but will potentially > take multiple attempts to find a unique value, especially when many > of the values have already been used. Sequential assignment makes > it easier to find a unique value - just find the highest current > value then generate the next value sequentially - but the > generation of the next value is trickier (see [listchars] and > [findstring] if you're using WebDNA version 6 - they will be > helpful here). > > Another significant consideration is that by default WebDNA's > searches are not case sensitive, so values of "aa", "Aa", "aA" and > "AA" are all seen as the same value. You will need to make sure to > specify that the index field is case sensitive (fieldnamecase=T) in > every search. > > - Brian > > > On Oct 28, 2005, at 3:49 PM, Christophe Billiottet wrote: > > >> Good evening to you all! we must index a database using no less >> and no more than two letters/numbers. To do this, each letter/ >> number must be in [a-z][A-Z][0-9] range. For instance, a record >> will be indexed 'c9' while another one will be 'Ht' or 'zs'. >> >> This gives 3844 possibilities (26+26+10)*(26+26+10) >> >> Does anyone has an idea to automatically create such an index? >> each time a record is added, a new unique two letters code index >> would be added. >> >> chris >> >> > > Brian Fries > BrainScan Software > > > > > ------------------------------------------------------------- > 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 digest@talk.smithmicro.com> > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- 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 Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: index code ( Chris 2005)
  2. Re: index code ( Brian Fries 2005)
  3. index code ( Chris 2005)
Good points! thank you Brian! chris On Oct 28, 2005, at 20:51, Brian Fries wrote: > Are you wanting these index values assigned randomly or > sequentially? Random is easier to generate (just pick two random > characters from the list of valid characters), but will potentially > take multiple attempts to find a unique value, especially when many > of the values have already been used. Sequential assignment makes > it easier to find a unique value - just find the highest current > value then generate the next value sequentially - but the > generation of the next value is trickier (see [listchars] and > [findstring] if you're using WebDNA version 6 - they will be > helpful here). > > Another significant consideration is that by default WebDNA's > searches are not case sensitive, so values of "aa", "Aa", "aA" and > "AA" are all seen as the same value. You will need to make sure to > specify that the index field is case sensitive (fieldnamecase=T) in > every search. > > - Brian > > > On Oct 28, 2005, at 3:49 PM, Christophe Billiottet wrote: > > >> Good evening to you all! we must index a database using no less >> and no more than two letters/numbers. To do this, each letter/ >> number must be in [a-z][A-Z][0-9] range. For instance, a record >> will be indexed 'c9' while another one will be 'Ht' or 'zs'. >> >> This gives 3844 possibilities (26+26+10)*(26+26+10) >> >> Does anyone has an idea to automatically create such an index? >> each time a record is added, a new unique two letters code index >> would be added. >> >> chris >> >> > > Brian Fries > BrainScan Software > > > > > ------------------------------------------------------------- > 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 digest@talk.smithmicro.com> > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- 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 Web Archive of this list is at: http://webdna.smithmicro.com/ Christophe Billiottet

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:

WCS Newbie question (1997) WebCatalog Technical Reference (1997) RE: Clearing orders and database help! (1997) What really killed WebDNA? (2007) ShowNext (1997) More on the email templates (1997) OT : Site speed feedback (2002) about this server and links to who (1997) GoodPath and MoveFile (2000) OK, here goes... (1997) Problems getting parameters passed into email. (1997) Re:Help name our technology! (1997) WebCat2b15MacPlugin - showing [math] (1997) server not running. (2003) Re[2]: HELP: OS X Problem... (2000) a little OT (2001) Subtotal Not Calculated on Invoice.html (1998) Emailer freezes under OSX (2003) Showif, Hideif reverse logic ? (1997) Setting up shop (1997)