G
Guest
Hello, I need to group data based on a field (name). If another
field(status) includes all "F"s then group and sum, if not I don't want to
see it included in query results.
ex.
name staus expense
andy F 25
andy F 10
andy F 5
gail F 25
gail O 10
bob F 5
bob F 7
the results would be
andy 40
bob 12
Everytime I try to include IIf in query it doesn't do the grouping
Please, any assistance with this would be greatly appreciated.
thanks and have a nice day
field(status) includes all "F"s then group and sum, if not I don't want to
see it included in query results.
ex.
name staus expense
andy F 25
andy F 10
andy F 5
gail F 25
gail O 10
bob F 5
bob F 7
the results would be
andy 40
bob 12
Everytime I try to include IIf in query it doesn't do the grouping
Please, any assistance with this would be greatly appreciated.
thanks and have a nice day