Hi All, I am very stupid on VBA coding:banghead:
My problem is that I have a query which count the number of target field in my table,(if the value in the column represent once, the count is 1; if the value repeat 3 times, the count value is 3), then I want to develop a case select or anything similar says that case 1: when all the count are 1, then.....; case 2: when not all the count are 1, then if when count = 1, balabala, else(count <>1), balabala
Can anyone tell me how to get it right? THANKS!
My problem is that I have a query which count the number of target field in my table,(if the value in the column represent once, the count is 1; if the value repeat 3 times, the count value is 3), then I want to develop a case select or anything similar says that case 1: when all the count are 1, then.....; case 2: when not all the count are 1, then if when count = 1, balabala, else(count <>1), balabala
Can anyone tell me how to get it right? THANKS!