[WebDNA] Nested Searches
This WebDNA talk-list message is from 2013
It keeps the original formatting.
numero = 110875
interpreted = N
texte = Hi everyone.I had nested searches that worked fine for several years, and now they =have stopped.The outside search finds [STUDENT_NAMEF] & [STUDENT_NAMEL]=20The inside search finds [CR_NAMEF] & [CR_NAMEL]These variables are compared both in the search, and with the [showif] =commands.Everything works fine to a point.... I get the text HERE 1 and HERE 2 and the line of variables labeled =Output Text. I never get the results 'HERE 3', although [RBN_ASSIGNMENT] is shown =to be the word Makeup several times in the Output TextThe [RBN_ASSIGNMENT] variable is in the inside search.I've been at this for a few hours, and I can't see why it's not giving =me HERE 3 when the text Makeup is found. =20Any ideas would be greatly appreciated.Thank you,sfb[search =db=3D../signin/data/signin.db&grSSKUdata=3D1&asSTUDENT_NAMELsort=3D1&asSTU=DENT_NAMEFsort=3D2][founditems][search =db=3Drecordsbyname.db&geSSKU2data=3D1eqCR_NAMEFdata=3D[STUDENT_NAMEF]&eqCR=_NAMELdatarq=3D[STUDENT_NAMEL]][founditems][showif [STUDENT_NAMEF]=3D[CR_NAMEF]] =HERE 1=20[showif =[STUDENT_NAMEL]=3D[CR_NAMEL]] HERE 2 Output =Text: [CR_NAMEF] [CR_NAMEL] [RBN_ASSIGNMENT]
=20[showif =[RBN_ASSIGNMENT]=3DMakeup] =20=HERE 3=[/showif]=20[/showif]=20[/showif] =20[/founditems][/search][/founditems][/search]=
Associated Messages, from the most recent to the oldest:
Hi everyone.I had nested searches that worked fine for several years, and now they =have stopped.The outside search finds [STUDENT_NAMEF] & [STUDENT_NAMEL]=20The inside search finds [CR_NAMEF] & [CR_NAMEL]These variables are compared both in the search, and with the
[showif] =commands.Everything works fine to a point.... I get the text HERE 1 and HERE 2 and the line of variables labeled =Output Text. I never get the results 'HERE 3', although [RBN_ASSIGNMENT] is shown =to be the word Makeup several times in the Output TextThe [RBN_ASSIGNMENT] variable is in the inside search.I've been at this for a few hours, and I can't see why it's not giving =me HERE 3 when the text Makeup is found. =20Any ideas would be greatly appreciated.Thank you,sfb[search =db=3D../signin/data/signin.db&grSSKUdata=3D1&asSTUDENT_NAMELsort=3D1&asSTU=DENT_NAMEFsort=3D2]
[founditems][search =db=3Drecordsbyname.db&geSSKU2data=3D1eqCR_NAMEFdata=3D[STUDENT_NAMEF]&eqCR=_NAMELdatarq=3D[STUDENT_NAMEL]]
[founditems][showif [STUDENT_NAMEF]=3D[CR_NAMEF]] =HERE 1=20[showif =[STUDENT_NAMEL]=3D[CR_NAMEL]] HERE 2 Output =Text: [CR_NAMEF] [CR_NAMEL] [RBN_ASSIGNMENT]
=20[showif =[RBN_ASSIGNMENT]=3DMakeup] =20=HERE 3=[/showif]=20[/showif]=20[/showif] =20[/founditems][/search][/founditems][/search]=
Stephen Braun
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:
Applescript, WebDNA, and PDF (1997)
[WebDNA] PayPal Integration (2017)
wrong input values? (1997)
Personal Web Server combined with Webcatalog 2.1 (1998)
FileMaker and WebCat - .hdr OK Merge not OK (1999)
Pithy questions on webcommerce & siteedit (1997)
Help!!!! Purchases not going through! (1997)
DON'T use old cart file! (1997)
Re:2nd WebCatalog2 Feature Request (1996)
quantity minimum problem (1997)
PIXO Support (1997)
WebCat2.0 [format thousands .0f] no go (1997)
japanese characters (1997)
NT vs Mac (1997)
boldwords funky (1998)
Emailer will not send emails to addresses outside of its SMTP (2002)
Showif Context combined with Search (1997)
Wanted: More Math Functions (or, Can You Solve This?) (1997)
japanese characters (1997)
Three new problems, maybe a fourth (1997)