>[FOUNDITEMS]>[SHOWIF [INDEX]<[K]+[DISP]]>...>[LOOKUP>db=DB/Description.db&value=[SKU]&LookInField=SKU&ReturnField=description]>...>>[/SHOWIF]>[/FOUNDITEMS]>[/SEARCH]>When I use both [SHOWIF]s, *nothing* displays:>[SEARCH db=DB/Comics.db&....]>FOUND [NUMFOUND] items. Showing items>[MATH][K]+1[/MATH]-[MATH][K]+[DISP][/MATH].
>[FOUNDITEMS]>[SHOWIF [INDEX]>[K]]>[SHOWIF [INDEX]<[K]+[DISP]]>...>[LOOKUP>db=DB/Description.db&value=[SKU]&LookInField=SKU&ReturnField=description]>...>>[/SHOWIF]>[/SHOWIF]>[/FOUNDITEMS]>[/SEARCH]When you use only the *first* showif, WebCat's telling you one of two things:Either it cannot find the Descriptions.db because it's not in thesame folder as the comics.db (which is where you're saying it is), orelse you need to allocate more memory to WebCat so it will haveenough memory to actually open the Descriptions.db file.When you use *both* showifs, WebCat's telling you that the value if[index] is NOT greater than the value of [k], so it is NOT showingyou anything inside that showif context. What's the value of [k]anyways? Are there any records found in the comics.db file when youdo this search?Sincerely, Ken GromeWebDNA Solutionshttp://www.hui.net/dna/webdna.html
Associated Messages, from the most recent to the oldest:
|
>[founditems]>[SHOWIF [INDEX]<[K]+[DISP]]>...>[LOOKUP>db=DB/Description.db&value=[SKU]&LookInField=SKU&ReturnField=description]>...>>[/SHOWIF]>[/FOUNDITEMS]>[/SEARCH]>When I use both [showif]s, *nothing* displays:>[SEARCH db=DB/Comics.db&....]>FOUND [NUMFOUND] items. Showing items>[math][K]+1[/MATH]-[math][K]+[DISP][/MATH].
>[founditems]>[SHOWIF [INDEX]>[K]]>[SHOWIF [INDEX]<[K]+[DISP]]>...>[LOOKUP>db=DB/Description.db&value=[SKU]&LookInField=SKU&ReturnField=description]>...>>[/SHOWIF]>[/SHOWIF]>[/FOUNDITEMS]>[/SEARCH]When you use only the *first* showif, WebCat's telling you one of two things:Either it cannot find the Descriptions.db because it's not in thesame folder as the comics.db (which is where you're saying it is), orelse you need to allocate more memory to WebCat so it will haveenough memory to actually open the Descriptions.db file.When you use *both* showifs, WebCat's telling you that the value if[index] is NOT greater than the value of [k], so it is NOT showingyou anything inside that showif context. What's the value of [k]anyways? Are there any records found in the comics.db file when youdo this search?Sincerely, Ken GromeWebDNA Solutionshttp://www.hui.net/dna/webdna.html
Kenneth Grome DOWNLOAD WEBDNA NOW!
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...