Avatar

Community Advisor

Hi Partha,

Answer to your two questions are:

1) Yes, vars.recCount works if there's any fie, it will give you value greater than zero.

2) You can set option value using:

var myOption=GetOption("myOption");

setOption("myOption",myOption+1);

Thanks,

Jyoti