Re: relational db question
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 40908
interpreted = N
texte = Yeah, that was a problem I was wondering about..... So I should put theappend BEFORE the founditems, right?- ben-----Original Message-----From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On BehalfOf Rob MarquardtSent: Tuesday, June 25, 2002 3:11 PMTo: WebCatalog TalkSubject: Re: relational db questionon 6/25/02 1:43 PM, marc malacarme at marc@lsaproofing.com so noted...> [!]----- if Id isn't found in more.db then append.--------[/!] [search> db=more.db&eqIDdatarq=[id]] [Showif [numfound]=0]> [founditems]> [append db=more.db]id=[id][/append]> > [!]----- Lists all id that have been added.--------[/!]> > ID [ID] has been added.
> [/founditems]> [/showif]> [/search]Just FYI,If no items are found ([numfound]=0), nothing inside the [founditems]loop will execute.Rob MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.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 toWeb Archive of this list is at: http://search.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://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Yeah, that was a problem I was wondering about..... So I should put theappend BEFORE the founditems, right?- ben-----Original Message-----From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On BehalfOf Rob MarquardtSent: Tuesday, June 25, 2002 3:11 PMTo: WebCatalog TalkSubject: Re: relational db questionon 6/25/02 1:43 PM, marc malacarme at marc@lsaproofing.com so noted...> [!]----- if Id isn't found in more.db then append.--------[/!] [search> db=more.db&eqIDdatarq=[id]] [Showif [numfound]=0]> [founditems]> [append db=more.db]id=[id][/append]> > [!]----- Lists all id that have been added.--------[/!]> > ID [ID] has been added.
> [/founditems]> [/showif]> [/search]Just FYI,If no items are found ([numfound]=0), nothing inside the [founditems]loop will execute.Rob MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.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 toWeb Archive of this list is at: http://search.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://search.smithmicro.com/
Ben Swihart
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:
Major Security Hole IIS NT (1998)
suggestions for a good text editor on windows? (2005)
HTML Email and Images (2004)
maximu values for sendmail! (1997)
Not really WebCat (1997)
[WebDNA] [OT] Apple iPad (2010)
Using Plug-In while running 1.6.1 (1997)
The force has left me. (2002)
Country & Ship-to address & other fields ? (1997)
Two submit buttons ? (1997)
Pirated WebCat? NOT... (2003)
RE: Languages (1997)
RequiredFields notes ... (1997)
Upload and WebCat (1998)
Add a field to the error log? (1997)
Re:Problem displaying search result (1997)
ooops...WebCatalog [FoundItems] Problem - LONG - (1997)
Serving images from databases (1998)
emailer (1997)
Setting the Date (2000)