Re: [WebDNA] Help with ReplaceFoundItems

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 103083
interpreted = N
texte = Sorry ... was away for the weekend... Thank you for all the suggestions... Ok... tried the suggestions, and made sure the db was writeable, but it doesn't seem to write to it... which is weird .. Currently, I'm just working with the 3 fields until I get the procedure down. I also added a hidden SKU field to give it a unique ID. Tried all kinds of variations of: [showif [URL][FormWasSubmitted][/URL]=T] [Replace db=form.db&eqSKUdatarq=[URL][SKU][/URL]]ship_name=[URL] [ship_name][/URL][/Replace] [/showif] And : [showif [URL][FormWasSubmitted][/URL]=T] [search db=form.db&neSKUdatarq=[SKU]] [ReplaceFoundItems]app_name=ship_name[/ReplaceFoundItems] [/search] I even added [commitdatabase db=form.db] to the test form... Are there any other reasons why it wouldn't write to the db? Rob On 3-Aug-09, at 9:02 AM, Govinda wrote: > Rob, > > I didn't catch this, what Ken says. It does look like you meant to > name your form inputs, e.g. "ship_name" as opposed to "[ship_name]". > > But I would still offer the other things I mentioned too. > > -G > > On Aug 3, 2009, at 7:48 AM, Kenneth Grome wrote: > >> Rob, >> >> Your form is using incorrect names. >> >> Get rid of the brackets around the field names, then whatever >> replacefounditems code you're already using might work. >> >> Sincerely, >> Ken Grome >> >> >> >>> I seem to not be able to grasp something here... which is >>> normal lately... I have to build an editable form and >>> need to replace any changes in a db record. >>> >>> ie: >>> Fields >>> ship_name ship_address ship_city >>> >>> >>> Page code sample: >>> [search db=form.db&eqapp_namedatarq=[ship_name]] >>> [showif [numfound]>0] >>> [founditems] >>> >>>
>>> >>> >>> >>> >>> >>> >>> >>> >> value="[ship_name]" size="45"> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>>
Ship Name>> value="[ship_name]" size="45">
Ship Address
Ship City>> value="[ship_name]" size="45">
>>> >>> Questions: >>> >>> Can anyone provide me with a [ReplaceFoundItems] sample >>> to place above this, so when it posts it replaces all the >>> data in that record?.. and is there a better method/way >>> to do this? >>> >>> Rob >>> --------------------------------------------------------- >>> This message is sent to you because you are subscribed to >>> the mailing list . >>> To unsubscribe, E-mail to: >>> archives: http://mail.webdna.us/list/talk@webdna.us >>> old archives: http://dev.webdna.us/TalkListArchive/ >> >> >> >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> old archives: http://dev.webdna.us/TalkListArchive/ > > ------------ > John Butler > govinda.webdnatalk@gmail.com > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Help with ReplaceFoundItems (Rob 2009)
  2. Re: [WebDNA] Help with ReplaceFoundItems (Govinda 2009)
  3. Re: [WebDNA] Help with ReplaceFoundItems (Rob 2009)
  4. Re: [WebDNA] Help with ReplaceFoundItems ("Dan Strong" 2009)
  5. Re: [WebDNA] Help with ReplaceFoundItems (Terry Wilson 2009)
  6. Re: [WebDNA] Help with ReplaceFoundItems (Terry Wilson 2009)
  7. Re: [WebDNA] Help with ReplaceFoundItems (Rob 2009)
  8. Re: [WebDNA] Help with ReplaceFoundItems (Govinda 2009)
  9. Re: [WebDNA] Help with ReplaceFoundItems (Govinda 2009)
  10. Re: [WebDNA] Help with ReplaceFoundItems (Kenneth Grome 2009)
  11. Re: [WebDNA] Help with ReplaceFoundItems (Rob 2009)
  12. Re: [WebDNA] Help with ReplaceFoundItems (Govinda 2009)
  13. Re: [WebDNA] Help with ReplaceFoundItems (Kenneth Grome 2009)
  14. Re: [WebDNA] Help with ReplaceFoundItems (Govinda 2009)
  15. Re: [WebDNA] Help with ReplaceFoundItems (Govinda 2009)
  16. Re: New: Re: [WebDNA] Help with ReplaceFoundItems (Rob 2009)
  17. New: Re: [WebDNA] Help with ReplaceFoundItems (Donovan Brooke 2009)
  18. [WebDNA] Help with ReplaceFoundItems (Rob 2009)
Sorry ... was away for the weekend... Thank you for all the suggestions... Ok... tried the suggestions, and made sure the db was writeable, but it doesn't seem to write to it... which is weird .. Currently, I'm just working with the 3 fields until I get the procedure down. I also added a hidden SKU field to give it a unique ID. Tried all kinds of variations of: [showif [url][FormWasSubmitted][/URL]=T] [Replace db=form.db&eqSKUdatarq=[url][SKU][/URL]]ship_name=[url] [ship_name][/URL][/Replace] [/showif] And : [showif [url][FormWasSubmitted][/URL]=T] [search db=form.db&neSKUdatarq=[SKU]] [replacefounditems]app_name=ship_name[/ReplaceFoundItems] [/search] I even added [commitdatabase db=form.db] to the test form... Are there any other reasons why it wouldn't write to the db? Rob On 3-Aug-09, at 9:02 AM, Govinda wrote: > Rob, > > I didn't catch this, what Ken says. It does look like you meant to > name your form inputs, e.g. "ship_name" as opposed to "[ship_name]". > > But I would still offer the other things I mentioned too. > > -G > > On Aug 3, 2009, at 7:48 AM, Kenneth Grome wrote: > >> Rob, >> >> Your form is using incorrect names. >> >> Get rid of the brackets around the field names, then whatever >> replacefounditems code you're already using might work. >> >> Sincerely, >> Ken Grome >> >> >> >>> I seem to not be able to grasp something here... which is >>> normal lately... I have to build an editable form and >>> need to replace any changes in a db record. >>> >>> ie: >>> Fields >>> ship_name ship_address ship_city >>> >>> >>> Page code sample: >>> [search db=form.db&eqapp_namedatarq=[ship_name]] >>> [showif [numfound]>0] >>> [founditems] >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >> value="[ship_name]" size="45"> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>>
Ship Name>> value="[ship_name]" size="45">
Ship Address
Ship City>> value="[ship_name]" size="45">
>>> >>> Questions: >>> >>> Can anyone provide me with a [replacefounditems] sample >>> to place above this, so when it posts it replaces all the >>> data in that record?.. and is there a better method/way >>> to do this? >>> >>> Rob >>> --------------------------------------------------------- >>> This message is sent to you because you are subscribed to >>> the mailing list . >>> To unsubscribe, E-mail to: >>> archives: http://mail.webdna.us/list/talk@webdna.us >>> old archives: http://dev.webdna.us/TalkListArchive/ >> >> >> >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> old archives: http://dev.webdna.us/TalkListArchive/ > > ------------ > John Butler > govinda.webdnatalk@gmail.com > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ Rob

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:

Bad cookie (1998) Sku numbers (1997) WebCommerce: Folder organization ? (1997) emailer w/F2 (1997) WC2.0 Memory Requirements (1997) WebCat & Backoffice Solution? (2000) WebCat2b13MacPlugIn - [shownext method=post] ??? (1997) Wild WebCat 98 Contest! (1998) Add htmlarea 3 to SiteBuilder (2004) blank page from template (1997) Using [Showif] tag. Mac (1997) WebCatalog for guestbook ? (1997) authenticating a second user, the sequel (1997) Great product and great job ! (1997) Great product and great job ! (1997) credit card - Revised (1997) WebCat2: Items xx to xx shown, etc. (1997) WebDNA 6.1 Back Button Issue (2004) Bad URL reference? (1997) WCS Newbie question (1997)