Forum Discussion

murugans1011's avatar
murugans1011
Regular Contributor
10 years ago

VBScript Check record count based on values

Hi



I have  in my testedapp there is a condition where users hav some maintenance period like



YEARLY,HALF YEARLY,QUARTERLY,WEEKLY,DAILY



For each user either of this option is available in combobox but not all. for ex



User1 has option to Select "YEARLY, WEEKLY, DAILY"



User2 has option to select "HALF YEARLY, QUATERLY, DAILY" etc



if the user selects either one of this option  then records will be added based on the selected option



for example if  User1  selects "YEARLY" then 3 records will be added, if he selects "WEEKLY" then 2 record will be added.





if User2 Selects  "QUATERLy" then 2 records will be added



so the priority is YEARLY -to>DAILY

i need to check record count of no.of items added based on the selected values. how to accomplish this task? Pls provide suggestions