Re: Reading Field

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 48389
interpreted = N
texte = Not sure if this is what you mean, but hopefully it helps....Split it up in to 2 varaibles:[text show=F]TheCategory=[getchars start=1&end=2][4digitField][/getchars][/text] [text show=F]TheSubcat=[getchars start=3&end=4][4digitField][/getchars][/text][search db=yourfile.db&eqCATEGORYdatarq=[TheCategory]&eqSUBCATdatarq=[TheSubcat]]Brian ----- Original Message ----- From: stephen To: WebDNA Talk Sent: Wednesday, March 05, 2003 3:23 PM Subject: Reading Field > I have a four digit field. > Ex. 4022 > > The first two digits represent the category. Then next two represent the subcategory. > How can I search on the Category page to show the first two digits for Category and then on the subcategory read the last two? > > ------------------------------------------------------------- > 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/ > ------------------------------------------------------------- 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: [WebDNA] Problem reading field from .db (Stephen Braun 2010)
  2. Re: [WebDNA] Problem reading field from .db (Brian Fries 2010)
  3. [WebDNA] Problem reading field from .db ( 2010)
  4. Re: Reading Field (marc@kaiwi.com (Marc Kaiwi) 2003)
  5. Re: Reading Field (Brian Boegershausen 2003)
  6. Reading Field (stephen 2003)
Not sure if this is what you mean, but hopefully it helps....Split it up in to 2 varaibles:[text show=F]TheCategory=[getchars start=1&end=2][4digitField][/getchars][/text] [text show=F]TheSubcat=[getchars start=3&end=4][4digitField][/getchars][/text][search db=yourfile.db&eqCATEGORYdatarq=[TheCategory]&eqSUBCATdatarq=[TheSubcat]]Brian ----- Original Message ----- From: stephen To: WebDNA Talk Sent: Wednesday, March 05, 2003 3:23 PM Subject: Reading Field > I have a four digit field. > Ex. 4022 > > The first two digits represent the category. Then next two represent the subcategory. > How can I search on the Category page to show the first two digits for Category and then on the subcategory read the last two? > > ------------------------------------------------------------- > 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/ > ------------------------------------------------------------- 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/ Brian Boegershausen

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:

Webstar 1.3.1 PPC (1997) Bug in WC 4.02 on RH Linux with Append (2002) Stopping bad HTML propagation ? (1997) Hosts who have upgraded to v5.0? (2003) SQL statements (2002) Sorting by date (1997) A question about security (1998) [interpret] inside the db field? (1997) Hiding URL ? (1998) [click][/click] (1999) Fun with dates (1997) Nested tags count question (1997) WebCat2b12 CGI Mac -- Problems propagating the cart through (1997) WebCatalog 2.0 b 15 mac (1997) tag request (1999) 2nd WebCatalog2 Feature Request (1996) Migrating to NT (1997) Limiting user access to .tmpl files (1997) upgrading (1997) Searching multiple Databases (1997)