Re: [WebDNA] Processor Maxing out
This WebDNA talk-list message is from 2010
It keeps the original formatting.
numero = 104910
interpreted = N
texte = Tony Miller wrote:> All, > > Okay, I was working on a file that would create a CSV file and attach it to an email so the customer could importHi Tony, Yes, there looks to be some funky code there... but maybe you are not posting everything. For one, there is a [founditems] loop outside any search context. And, there is a search context that doesnothing... so I'm guessing those two maybe go together and that theywere parted in the confusion.I don't have time to check through the whole thing, but that isa start.. so this:[text]body=ShipFromComp,,[!][/!][ListFields db=Orders.db][FieldName],[/ListFields][!][/!]Ref1,ref2,BillOption[UnURL][line_ending][/UnURL][!][/!][founditems][search db=LineItems.db&eqcartdata=[eqcartdatarq]&rank=off][/search][!] [/!][HideIf [Status]!Approved][!][snip] [/!][/HideIf][!][/!][/founditems][!][/!][/text]Should maybe turn into:[text]body=ShipFromComp,,[!][/!][ListFields db=Orders.db][FieldName],[/ListFields][!][/!]Ref1,ref2,BillOption[UnURL][line_ending][/UnURL][!][/!][search db=LineItems.db&eqcartdata=[eqcartdatarq]&rank=off][!] [/!][founditems][HideIf [Status]!Approved][!] [/!][HideIf [Action]!Sale][!][snip] [/!][/HideIf][!][/!][/founditems][!][/!][/search][/text]Good luck.Donovan-- Donovan BrookeEuca Design Center[Practical-Ethical-Efficient]www.euca.usegg.bzartglass-forum.com
Associated Messages, from the most recent to the oldest:
Tony Miller wrote:> All, > > Okay, I was working on a file that would create a CSV file and attach it to an email so the customer could importHi Tony, Yes, there looks to be some funky code there... but maybe you are not posting everything. For one, there is a
[founditems] loop outside any search context. And, there is a search context that doesnothing... so I'm guessing those two maybe go together and that theywere parted in the confusion.I don't have time to check through the whole thing, but that isa start.. so this:
[text]body=ShipFromComp,,
[!][/!][ListFields db=Orders.db][FieldName],[/ListFields]
[!][/!]Ref1,ref2,BillOption
[unurl][line_ending][/UnURL]
[!][/!]
[founditems][search db=LineItems.db&eqcartdata=[eqcartdatarq]&rank=off][/search]
[!] [/!][HideIf [Status]!Approved]
[!][snip] [/!][/HideIf]
[!][/!][/founditems]
[!][/!][/text]Should maybe turn into:
[text]body=ShipFromComp,,
[!][/!][ListFields db=Orders.db][FieldName],[/ListFields]
[!][/!]Ref1,ref2,BillOption
[unurl][line_ending][/UnURL]
[!][/!][search db=LineItems.db&eqcartdata=[eqcartdatarq]&rank=off]
[!] [/!]
[founditems][HideIf [Status]!Approved]
[!] [/!][HideIf [Action]!Sale]
[!][snip] [/!][/HideIf]
[!][/!][/founditems]
[!][/!][/search][/text]Good luck.Donovan-- Donovan BrookeEuca Design Center[Practical-Ethical-Efficient]www.euca.usegg.bzartglass-forum.com
Donovan Brooke
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 Plug-in and Type 11 errors (1997)
[Sum] function? (1997)
Variable Prices (1998)
how to use WebCat w. SSL & CyberCash (1998)
randomness (1997)
Separate SSL Server (1997)
Linux -> OS X (2002)
Severe Slowness (2005)
Cart creation techniques (was Problems with Price field) (1997)
RE: [WebDNA] Problem with Cookies in IE and Safari (2009)
[subTotal] pricefield in another database !? (1998)
[group] ? (1997)
[Webcat 2]Next (1997)
Next X hits (1996)
WebDNA Solutions ... (1997)
Fun with [middle] (2002)
SetHeader (1997)
Passing WebCat data to SSL server (1997)
Databases inside [SHOWIF] (1998)
Not really WebCat (1997)