Re: relational db question
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 40918
interpreted = N
texte = Ben Swihart wrote:> Why do you have this line:> [text]theID=[ID][/text]>> When you don't call [theID] at any point?good catch, setting the [ID] to [theID] willkeep WebCat from being confused when insidetwo search contexts. You might not need it butit rules out ambiguity. See below for yet anothercorrection. :-)> > you got the right idea...> > -----> >> [text]count=0[/text]> [search db=my.db&neIDdatarq=find_all]> [founditems]> [text]theID=[ID][/text]> [search db=more.db&eqIDdatarq=[theID]]> [showif [numfound]=0]> [append db=more.db]ID=[theID][/append] [text]count=[math][count]+1[/math][/text]> [/showif]> [/search]> [/founditems]> [/search]>> There were [count] items added to more.db.Donovan> >> > ---->-- ------------------------------------------------------------------------ ------------------------------------------------------------------------<><> Donovan Brooke <><>->ï ------------------------------------------------------------------------ -------------------------------------------------------------------------------------------------------------------------------------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:
Ben Swihart wrote:> Why do you have this line:> [text]theID=[ID][/text]>> When you don't call [theID] at any point?good catch, setting the [ID] to [theID] willkeep WebCat from being confused when insidetwo search contexts. You might not need it butit rules out ambiguity. See below for yet anothercorrection. :-)> > you got the right idea...> > -----> >> [text]count=0[/text]> [search db=my.db&neIDdatarq=find_all]> [founditems]> [text]theID=[ID][/text]> [search db=more.db&eqIDdatarq=[theID]]> [showif [numfound]=0]> [append db=more.db]ID=[theID][/append] [text]count=[math][count]+1[/math][/text]> [/showif]> [/search]> [/founditems]> [/search]>> There were [count] items added to more.db.Donovan> >> > ---->-- ------------------------------------------------------------------------ ------------------------------------------------------------------------<><> Donovan Brooke <><>->ï ------------------------------------------------------------------------ -------------------------------------------------------------------------------------------------------------------------------------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/
Donovan
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:
New since last visit, forum feature, help requested (2004)
Template not completely processed (1998)
Resume Catalog ? (1997)
[WebDNA] AUTONUMBER in Form (2020)
WebCat2 Append problem (B14Macacgi) (1997)
RE: Webcatalog and CyberSTUD (1998)
page redirect in webDNA (1997)
RE: protect tag on NT (1997)
Paths, relative paths, webstar server setup and security (Mac) (1997)
New Mac Public Beta Available (1997)
Two submit buttons ? (1997)
[OT] JS Help PLEASE (2006)
[WebDNA] Friday's.. WIP thread (2009)
Not really WebCat (1997)
Quickie question on the email templates (1997)
webcat method for waiting specific amount of time? (2000)
OT- OSX / OSX Server... (2004)
Purchase Plugin Missing (1996)
Protect and Serve (1999)
Opinion: [input] should be called [output] ... (1997)