Re: Weird problems with [SHOWIF]s
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 13287
interpreted = N
texte = >At 12:38 PM -0800 9/2/97, Kenneth Grome is rumored to have typed:>>> 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 the>> same folder as the comics.db (which is where you're saying it is), or>> else you need to allocate more memory to WebCat so it will have>> enough memory to actually open the Descriptions.db file.>>Without either of the SHOWIFs, both databases open just fine (and at the>same time).>>> 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 showing>> you anything inside that showif context. What's the value of [k]>> anyways? Are there any records found in the comics.db file when you>> do this search?>>I set k=0 and disp=20. I've been searching for something that finds 58>records.>Without the [SHOWIF]s it returns all 58 records.>>Both [SHOWIF]s are not just leaving the [SEARCH][/SEARCH] area blank, it's>leaving the *enitire page* blank. Viewing the source shows that everything>is fine until the [SEARCH], but then it just stops.If you have any table tags in your template, the ending table tagsmight be being hidden by the showif, this has happened to me before.Or maybe that combined math thing you're doing:[SHOWIF [INDEX]<[K]+[DISP]]needs to have the right side enclosed in a math context:[SHOWIF [INDEX]<[math][K]+[DISP][/math]]Sincerely, Ken GromeWebDNA Solutionshttp://www.hui.net/dna/webdna.html
Associated Messages, from the most recent to the oldest:
>At 12:38 PM -0800 9/2/97, Kenneth Grome is rumored to have typed:>>> 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 the>> same folder as the comics.db (which is where you're saying it is), or>> else you need to allocate more memory to WebCat so it will have>> enough memory to actually open the Descriptions.db file.>>Without either of the SHOWIFs, both databases open just fine (and at the>same time).>>> 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 showing>> you anything inside that showif context. What's the value of [k]>> anyways? Are there any records found in the comics.db file when you>> do this search?>>I set k=0 and disp=20. I've been searching for something that finds 58>records.>Without the
[showif]s it returns all 58 records.>>Both
[showif]s are not just leaving the
[search][/SEARCH] area blank, it's>leaving the *enitire page* blank. Viewing the source shows that everything>is fine until the
[search], but then it just stops.If you have any table tags in your template, the ending table tagsmight be being hidden by the showif, this has happened to me before.Or maybe that combined math thing you're doing:[SHOWIF [INDEX]<[K]+[DISP]]needs to have the right side enclosed in a math context:[SHOWIF [INDEX]<
[math][K]+[DISP][/math]]Sincerely, Ken GromeWebDNA Solutionshttp://www.hui.net/dna/webdna.html
Kenneth Grome
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:
Simple way to create unique SKU (1997)
3.0 [TEXT] variables (1998)
WebCatalog for guestbook ? (1997)
SEARCH RESULTS (1998)
SKU lookup (1997)
[SHOWIF]s and empty arguments (1997)
shipCost not working v2.1b4 (1997)
re: How can I record purchases to a database? (1998)
Bug or syntax error on my part? (1997)
I'm new be kind (1997)
AppleScript question (1997)
WebCatalog and WebMerchant reviewed by InfoWorld (1997)
Running 2 two WebCatalog.acgi's (1996)
Emailer setup (1997)
Sendmail - Attachment / My First Post (2001)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
Searchable WebCat (etc.) Docs ? (1997)
Thanks Grant (1997)
SQL Error: 00000 (2004)
[WebDNA] TLS 1.2 and [tcpconnect] (2018)