Double count on validate

Double count on validate

Hello,

I have a problem.

I am using the count function. Here's an example:

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

But now I have another need. I need a double condition that occurs in the same record. Using a double count it seems to me does 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 function does not work on the same record. How can I tell to the application that the two conditions must occur simultaneously in the same record?

















 

Thanks