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:
Generating Report Totals (1997)
different ship dates and shopping carts -- how to? (1997)
Installing Web DNA 5.1 on a MAC (2004)
Plugin or CGI or both (1997)
Size limit for tmpl editor ? (1997)
Help with Shipping Costs (1997)
Roundup function? (1997)
WebCat2 several catalogs? (1997)
insert graphic in email (2000)
Backwards list behavior ... (1997)
Reversed words (1997)
[WebDNA] sendmail html with images attached (2008)
Date Help (2004)
Special search (1998)
Extended [ConvertChars] (1997)
Showif Or (2000)
Browser Reloads and AddlineItem (1997)
Problems with totals (1997)
Make sure I understand this??? (1997)
[listchars] request (was: Bug in capitalize ... ?) (2003)