R
R_wilson1
Hello,
I have a count issue that I have not seen being asked before. I a
thinking that an IF statement should work but I am unable to figure ou
a way on how to do this. I have a group of users that can have multipl
types of user profiles. I need to count only one of the profiles as on
but ignore the other lesser profiles or if it is a duplicate.
I.E.[/B]
IF PROFILE_ID = SUPPORT THEN
COUNT SUPPORT AS 1
IF PROFILE_ID = FULL IS TRUE AND PROFILE_ID = SUPPORT_ID ISNULL THEN
COUNT FULL AS 1
IF PROFILE_ID = READ_ONLY AND PROFILE_ID = FULL IS NULL AND PROFILE_I
= SUPPORT_ID ISNULL THEN
COUNT READ ONLY AS 1
ELES
COUNT AS UNKNOWN
END IF
END IF
END IF
-FORM-
USERNAME PROFIL
User1 Support
User1 Full
User2 Read only
User2 Full
User3 Read only
User3 Read only
User4 Full
User4 Full
REPORT OUTPU
Support = 1
Full = 2
Read only = 3
I hope this is clear enough.
Thanks for any suggestions in the right directions.
Ric
I have a count issue that I have not seen being asked before. I a
thinking that an IF statement should work but I am unable to figure ou
a way on how to do this. I have a group of users that can have multipl
types of user profiles. I need to count only one of the profiles as on
but ignore the other lesser profiles or if it is a duplicate.
I.E.[/B]
IF PROFILE_ID = SUPPORT THEN
COUNT SUPPORT AS 1
IF PROFILE_ID = FULL IS TRUE AND PROFILE_ID = SUPPORT_ID ISNULL THEN
COUNT FULL AS 1
IF PROFILE_ID = READ_ONLY AND PROFILE_ID = FULL IS NULL AND PROFILE_I
= SUPPORT_ID ISNULL THEN
COUNT READ ONLY AS 1
ELES
COUNT AS UNKNOWN
END IF
END IF
END IF
-FORM-
USERNAME PROFIL
User1 Support
User1 Full
User2 Read only
User2 Full
User3 Read only
User3 Read only
User4 Full
User4 Full
REPORT OUTPU
Support = 1
Full = 2
Read only = 3
I hope this is clear enough.
Thanks for any suggestions in the right directions.
Ric