I'm using two fields from the same table, FieldCount and FieldID. If [FieldCount]=2, I want to count the number of IDs found in [FieldID]. And in another column, if [FieldCount]>2, I want to count the number of those IDs found in [FieldID]. Here is the best way I can think of to explain it:
DESIGN VIEW
My.Column1: Count(IIF([FieldCount]=2,Count[FieldID],0)
My.Column2: Count(IIF([FieldCount]>2,Count[FieldID],0)
I know this is terribly wrong, but am unable to determine the correct expression... I'm will do in SQL view if needed. Thanks in advance...
DESIGN VIEW
My.Column1: Count(IIF([FieldCount]=2,Count[FieldID],0)
My.Column2: Count(IIF([FieldCount]>2,Count[FieldID],0)
I know this is terribly wrong, but am unable to determine the correct expression... I'm will do in SQL view if needed. Thanks in advance...