Re: Appending a field to itself

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 30839
interpreted = N
texte = >Hello! > >I decided to carve out my own message board from the jungle of Web >Cat and keep running into a wall. In my attempt at making the thing >threaded, I thought that I could keep track of a message's lineage >by doing something LIKE: > >[append guestbook.db] >some web cat stuff... >&history=[history] [cart] >[/append] > >The cart part is fine, but [history] is appended to the history >field of the database. Bth, when a new thread is created, >&history=[cart] works fine; the problem comes when I try to add to >it.Based on the snippet of code above, I'd guess it's because you're not telling WebCat what [history] is. WebCat doesn't know to replace [history] with anything unless you call it up from somewhere.&history=[history] [cart]should be&history=[LOOKUP db=guestbook.db&value=&lookinfield=&returnfield=history] [cart]Michael------------------------------------------------------------- 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: Appending a field to itself (Michael Winston 2000)
  2. Appending a field to itself (Andy Mowrey 2000)
>Hello! > >I decided to carve out my own message board from the jungle of Web >Cat and keep running into a wall. In my attempt at making the thing >threaded, I thought that I could keep track of a message's lineage >by doing something LIKE: > >[append guestbook.db] >some web cat stuff... >&history=[history] [cart] >[/append] > >The cart part is fine, but [history] is appended to the history >field of the database. Bth, when a new thread is created, >&history=[cart] works fine; the problem comes when I try to add to >it.Based on the snippet of code above, I'd guess it's because you're not telling WebCat what [history] is. WebCat doesn't know to replace [history] with anything unless you call it up from somewhere.&history=[history] [cart]should be&history=[LOOKUP db=guestbook.db&value=&lookinfield=&returnfield=history] [cart]Michael------------------------------------------------------------- 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 Michael Winston

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:

[WebDNA] [announce] WebDNA 6.2.1x (2012) b12 cannot limit records returned and more. (1997) Fishing: anyone on this group willing to do support? (1998) Sort Order on a page search (1997) Possible Bug in 2.0b15.acgi (1997) IIS4b2 and WebCatalog b19 (1997) Location of Webcat site in folder hierarchy (1997) Alcatraz must have been nicer than this... (2000) multiple prices (1998) WEBDNA tags don't process in a .js file (2002) Email template names (1997) includes and cart numbers (1997) Looping Search (2006) Listserver problem (1997) WCS Newbie question (1997) attn: smitmicro - cart limitation (2002) Banner Ad example (Typhoon) and WebCatalog (1997) Help! WebCat2 bug (1997) [blank] (2005) Sorting by date (1997)