Quantcast
Channel: Spiceworks Community - Latest topics
Viewing all articles
Browse latest Browse all 184570

Double count on validate

$
0
0

Hello,

I have a problem.

I am using thecount function.Here's an example:

if (count(zzz[xxx==input.xxx])>0)
{
double =true;
}

But nowI have anotherneed.Ineeda double conditionthatoccursin the same record.Usinga doublecountit seems to medoes not work.Here's an example:

if ((count (zzz[xxx==input.xxx])>0) &&(count (zzz[yyy==input.yyy])>0))
{
double =true;
}

In this way, however,does not work,because the functiondoes not workon the samerecord.How can I tellto the applicationthat the two conditionsmustoccur simultaneouslyin the same record?

Thanks


Read More

Viewing all articles
Browse latest Browse all 184570

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>