Click here to Skip to main content
15,880,651 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i wan if qty is between 300 to 500 then show rate

like that

how to use it pls advice

thx in advance
Posted
Updated 10-Dec-14 19:27pm
v2
Comments
DamithSL 11-Dec-14 1:30am    
what is rate and qty? are they columns of your table? what are the data types of those columns?
Master Vinu 11-Dec-14 1:30am    
yes qty and rate is column data type is int

If qty >= 300 && qty <= 500 THEN showRate = 1 else showRate = 0 where showRate is shared variable.

I'm not sure I understand the question though this seems too easy...
 
Share this answer
 
<pre>{FactoryProductionRateReport.Mouldqty}in 300 to 500 then {FactoryProductionRateReport.Points}*75/100</pre>
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900