| size=1>[totalPA] | src=bar.gif height=10 width=[Format> .0f][math][totalPA]/[maxpa]*100[/math][/format]> [Format> .0f][mathpa][/format]% | >> [totalorders] | > height=10 width=[Format> .0f][math][totalorders]/[maxorders]*100[/math][/format]> [Format> .0f][mathorders][/format]% | >> size=1>[totalPRICING] | > height=10 width=[Format> .0f][math][totalPRICING]/[maxPRICING]*100[/math][/format]> [Format> .0f][mathPRICING][/format]% | >> [IVISITORS] | > height=10 width=[Format> .0f][math][IVISITORS]/[maxVISITORS]*100[/math][/format]> [Format> .0f][mathVISITORS][/format]% | >>> [/founditems][/search]>>>> Alex J McCombie New World Media> Chief Information Officer Drawer 607> 800/724.8973 Fair Haven, NY 13064> Alex@NewWorldMedia.com http://OurClients.com>> Interface Designer WebDNA Programmer Database Designer-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Nice, added that to my personal snippet collection, thanks!GK> On 2/8/03 12:30 PM, Alex McCombie wrote:> Sorry about that. I missed the 4 searches (you may only need one depending> on how many things you would want to compare) that set the max variablesof> which everything is compared against.>> Again... Hope this helps.>> Alex>>>>> >> Anyone have any pointers on how to tackle this? I'm not sure where to> >> start. I guess I could make tables and color the cells as needed, but> >> maybe someone who has been down this path has another suggestion...?> >>> >> Thanks,> I pulled this quickly and sanitized it so my apologies if something isnt> quiet right. But this tracks various increments in a partner only area ofa> client site and displays those totals graphically.>> It does so by comparing the current total against the maximum totals found> for each field to create a dynamic range from 0-100% (which changes every> chart as soon as a new 100% is reached. Actually it is quite snappy aswell.> The client has gotten addicted to watching it ;-)> You can see a screen image of it here:> http://NewWorldMedia.com/chart.gif>> HTH> Alex>>> [search> db=daily.db&neDATEINFOdatarq=findall&detotalpasort=1&totalpatype=num]> [founditems][showif> [index]=1][text]maxPA=[totalpa][/text][/showif][/founditems][/search]>> [search>db=daily.db&neDATEINFOdatarq=findall&detotalorderssort=1&totalorderstype=num> ]> [founditems][showif>[index]=1][text]maxorders=[totalorders][/text][/showif][/founditems][/search> ]>> [search>db=daily.db&neDATEINFOdatarq=findall&detotalPRICINGsort=1&totalPRICINGtype=n> um]> [founditems][showif>[index]=1][text]maxPRICING=[totalPRICING][/text][/showif][/founditems][/sear> ch]>> [search> db=daily.db&neDATEINFOdatarq=findall&deIVISITORSsort=1&IVISITORStype=num]> [founditems][showif>[index]=1][text]maxVISITORS=[IVISITORS][/text][/showif][/founditems][/search> ]>> [search> db=daily.db&neDATEINFOdatarq=findall&deDATEINFOsort=1&DATEINFOtype=DATE]> [founditems]> [text]mathPA=[math][totalPA]/[maxpa]*100[/math][/text]> [text]mathorders=[math][totalorders]/[maxorders]*100[/math][/text]> [text]mathPRICING=[math][totalPRICING]/[maxPRICING]*100[/math][/text]> [text]mathVISITORS=[math][IVISITORS]/[maxVISITORS]*100[/math][/text]>>>> | size=1>[totalPA] | src=bar.gif height=10 width=[Format> .0f][math][totalPA]/[maxpa]*100[/math][/format]> [Format> .0f][mathpa][/format]% | >> [totalorders] | > height=10 width=[Format> .0f][math][totalorders]/[maxorders]*100[/math][/format]> [Format> .0f][mathorders][/format]% | >> size=1>[totalPRICING] | > height=10 width=[Format> .0f][math][totalPRICING]/[maxPRICING]*100[/math][/format]> [Format> .0f][mathPRICING][/format]% | >> [IVISITORS] | > height=10 width=[Format> .0f][math][IVISITORS]/[maxVISITORS]*100[/math][/format]> [Format> .0f][mathVISITORS][/format]% | >>> [/founditems][/search]>>>> Alex J McCombie New World Media> Chief Information Officer Drawer 607> 800/724.8973 Fair Haven, NY 13064> Alex@NewWorldMedia.com http://OurClients.com>> Interface Designer WebDNA Programmer Database Designer-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Gary Krockover
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:
email problem (1998)
Dynamic drop downs (2005)
Math Hell! (2000)
Format all of a sudden doesn't work (1997)
ooops...WebCatalog [FoundItems] Problem - LONG - (1997)
Sorting problem (2002)
Re:Searching for ALL / empty form field (1997)
Help with Shipping Costs (1997)
Opinion: [input] should be called [output] ... (1997)
New Zealand [OT - was Car Database] (2002)
File commands and Wild Cards ?? (1998)
Nesting Search Within Tag? (1997)
Moment of Thanks (1997)
[OT] Scrolling Text for News (2003)
The Guru Speaks-very long reply (1998)
expired beta (1997)
taxTotal, grandTotal (1997)
Finding max value for a field (1997)
Text data with spaces in them... (1997)
Security Issue (1999)