Re: replace problem

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 25838
interpreted = N
texte = What happens if you remove the VALUE=T from each?Will Starck Product and Technical Support NovaDerm.com http://www.novaderm.com techs@novaderm.com Toll free support line: 800-378-1740---------- >From: listas >To: (WebCatalog Talk) >Subject: Re: replace problem >Date: Thu, Dec 30, 1999, 12:42 PM >> Hi, > I put as the example Will sent, something like this: > > > [foundItems] > [showif [submitted]=T] > [replace > db=../ordenes.db&eqvendordatarq=Jim]StaE=[interpret][StaE[index]][/interpret ]&StaP=[i > nterpret][StaP[index]][/interpret]&StaF=[interpret][StaF[index]][/interpret] &StaR=[in > terpret][StaR[index]][/interpret][/replace] > [/showif] > > > > > > [/foundItems] >

[showif [StaE]=T]CHECKED[/showif]

[showif [StaP]=T]CHECKED[/showif]>

[showif [StaF]=T]CHECKED[/showif]>

[showif [StaR]=T]CHECKED[/showif]>

> > > > > When I hit the submit buttom, it replaces all this fields in all records > found with a T, it is the same if I check or uncheck the fields, It show me > the refreshed page as I leave before with some checked and some unchecked, > and only if I quit the browser and login again I can see all the fields checked. > > Any Idea Why? > or What I'm doing wrong? > > Thanks. > > El 12/29/99 1:12 PM Will Starck daprez@tigernet.net escribió > >>I think I understand what you want. Here's an example that uses radio >>buttons. It reads orderstatus, shipdate and tracking number from a db, so >>the radio button is checked depending on what's in the db. Then the admin >>can change those items that he/she wants, and click update, and the replace >>changes the db. >> >>
>>[search db=orders.db&blah] >>[founditems] >>[showif [submitted]=T] >>[replace >>db=orders.db&eqfilenamedata=[filename]]orderstatus=[interpret][orderstatus[i >>ndex]][/interpret][hideif >>[orderstatus]=Complete]&shipdate=[interpret][shipdate[index]][/interpret]&tr >>acknumber=[interpret][tracknumber[index]][/interpret][/hideif][/replace] >>[/showif] >> >>>[orderstatus]=Open]checked[/showif]>Open >> >[showif [orderstatus]=On hold]checked[/showif]>>face=Gadget>On Hold >> >[showif [orderstatus]=Complete]checked[/showif]>>face=Gadget>Complete >> >>[/founditems] >>[/search] >>>name=update value=Update> >>
>> >>Hope the helps... >>-- >>Will Starck >>Product and Technical Support >>NovaDerm.com >>http://www.novaderm.com >>techs@novaderm.com >>Toll free support line: 800-378-1740 >> >>---------- >>>From: listas >>>To: (WebCatalog Talk) >>>Subject: replace problem >>>Date: Wed, Dec 29, 1999, 1:05 PM >>> >> >>> Hi all >>> >>> I have an admin page with a foundItems context, it found several records >>> and I have some check boxes for each record in the same line, I can click >>> them to change the status of several records at a time in the same page, >>> but... >>> How can I [replace] them at ones? >>> Do you have some example? >>> >>> Thanks, >>> Rodolfo de la Garza >>> >>> ------------------------------------------------------------- >>> 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 >> > > ------------------------------------------------------------- > 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:

    
  1. Re: REPLACE problem (John Butler 2000)
  2. Re: REPLACE problem (WebDNA Support 2000)
  3. Re: REPLACE problem (Glenn Busbin 2000)
  4. Re: REPLACE problem (Glenn Busbin 2000)
  5. Re: REPLACE problem (WebDNA Support 2000)
  6. REPLACE problem (Glenn Busbin 2000)
  7. Re: replace problem (Kenneth Grome 1999)
  8. Re: replace problem (listas 1999)
  9. Re: replace problem (Kenneth Grome 1999)
  10. Re: replace problem (listas 1999)
  11. Re: replace problem (Will Starck 1999)
  12. Re: replace problem (listas 1999)
  13. Re: replace problem (Will Starck 1999)
  14. replace problem (listas 1999)
What happens if you remove the VALUE=T from each?Will Starck Product and Technical Support NovaDerm.com http://www.novaderm.com techs@novaderm.com Toll free support line: 800-378-1740---------- >From: listas >To: (WebCatalog Talk) >Subject: Re: replace problem >Date: Thu, Dec 30, 1999, 12:42 PM >> Hi, > I put as the example Will sent, something like this: > > > [founditems] > [showif [submitted]=T] > [replace > db=../ordenes.db&eqvendordatarq=Jim]StaE=[interpret][StaE[index]][/interpret ]&StaP=[i > nterpret][StaP[index]][/interpret]&StaF=[interpret][StaF[index]][/interpret] &StaR=[in > terpret][StaR[index]][/interpret][/replace] > [/showif] > > > > > > [/foundItems] >

[showif [StaE]=T]CHECKED[/showif]

[showif [StaP]=T]CHECKED[/showif]>

[showif [StaF]=T]CHECKED[/showif]>

[showif [StaR]=T]CHECKED[/showif]>

> > > > > When I hit the submit buttom, it replaces all this fields in all records > found with a T, it is the same if I check or uncheck the fields, It show me > the refreshed page as I leave before with some checked and some unchecked, > and only if I quit the browser and login again I can see all the fields checked. > > Any Idea Why? > or What I'm doing wrong? > > Thanks. > > El 12/29/99 1:12 PM Will Starck daprez@tigernet.net escribió > >>I think I understand what you want. Here's an example that uses radio >>buttons. It reads orderstatus, shipdate and tracking number from a db, so >>the radio button is checked depending on what's in the db. Then the admin >>can change those items that he/she wants, and click update, and the replace >>changes the db. >> >>
>>[search db=orders.db&blah] >>[founditems] >>[showif [submitted]=T] >>[replace >>db=orders.db&eqfilenamedata=[filename]]orderstatus=[interpret][orderstatus[i >>ndex]][/interpret][hideif >>[orderstatus]=Complete]&shipdate=[interpret][shipdate[index]][/interpret]&tr >>acknumber=[interpret][tracknumber[index]][/interpret][/hideif][/replace] >>[/showif] >> >>>[orderstatus]=Open]checked[/showif]>Open >> >[showif [orderstatus]=On hold]checked[/showif]>>face=Gadget>On Hold >> >[showif [orderstatus]=Complete]checked[/showif]>>face=Gadget>Complete >> >>[/founditems] >>[/search] >>>name=update value=Update> >>
>> >>Hope the helps... >>-- >>Will Starck >>Product and Technical Support >>NovaDerm.com >>http://www.novaderm.com >>techs@novaderm.com >>Toll free support line: 800-378-1740 >> >>---------- >>>From: listas >>>To: (WebCatalog Talk) >>>Subject: replace problem >>>Date: Wed, Dec 29, 1999, 1:05 PM >>> >> >>> Hi all >>> >>> I have an admin page with a foundItems context, it found several records >>> and I have some check boxes for each record in the same line, I can click >>> them to change the status of several records at a time in the same page, >>> but... >>> How can I [replace] them at ones? >>> Do you have some example? >>> >>> Thanks, >>> Rodolfo de la Garza >>> >>> ------------------------------------------------------------- >>> 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 >> > > ------------------------------------------------------------- > 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 Will Starck

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:

PCS Emailer's role ? (1997) searchable list archive (1997) AutoCommit Preference? (1998) Setting up the server (1997) WebCommerce: Folder organization ? (1997) SKU lookup (1997) A little syntax help (1997) Running a store on BOTH http and https (1998) Database Options (1997) strange result? (2003) Text data with spaces in them... (1997) The BUG is BACK -- leading < character (1998) FREE Stuff .. (2003) webmerch and serials - almost there (1997) emailer (1997) Using Plug-In while running 1.6.1 (1997) SSL (1998) shipCost -vs- shippingtotal ? (2000) WebCat2b13MacPlugIn - [include] (1997) Emailer (1997)