navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

identify results in results??

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> identify results in results??
Page: [1]
 
StevieB

 

Posts: 80
Joined: 8/11/2005
From: Yuma, AZ USA
Status: offline

 
identify results in results?? - 10/2/2005 19:56:07   
FP02, access db, drw on spooky diet

I have a results page
http://websight101.com/EINT/PPA/results_page.asp

that makes a calculation in the Select statement...

fp_sQry="SELECT ID, PN, TRV, TVTO, VFSC, TVTO/TRV AS Turn_Out, VFSC/TVTO AS Support FROM PPA ORDER BY VFSC/TVTO Desc"


And I have no idea as to how to identify the results range.
For example: On the page listed above the highest result is 62 and the lowest result is 22. I need to define the range to do something like this...
(I'll be indebted forever for any help with code or defining HR, LR, R or x)

HR = High Result LR= Low Result R=Result

HR - LR * 100 / 3 = x
If (x*2 )+(LR*100) >= (HR*100)-x then response.write "H"
If x +(LR*100) =< (LR*100)+X then response.write "L"
Else response.write "M"

OR..

HR - LR * 100 / 3 = x
If (R *100)>= (x*2)+(LR) then response.write "H"
If (R*100)=<(x+LR) then response.write "L"
else

Note: I tried to use >= as greater than or equal to and =< as less than or equal to.

Boy I hope this makes some sense,
Thanks for any help!

Steve


Page:   [1]

All Forums >> Web Development >> ASP and Database >> identify results in results??
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts