Hello all,
I have a problem in which my original expression using the COUNT function in a Select Query worked but was too long to include all necessary fields.
For example, my original expression was:
EQCOLNegAcctsTotal: Count([EQCOLColAgency1])+Count([EQCOLColAgency2])+Count([EQCOLColAgency3])+Count([EQCOLColAgency4])+Count([EQCOLColAgency5])+Count([EQCOLColAgency6])+Count([EQCOLColAgency7])+Count([EQCOLColAgency8])+Count([EQCOLColAgency9])+Count([EQCOLColAgency10])+Count([EQCOLColAgency11])+Count([EQCOLColAgency12])+Count([EQCOLColAgency13])+Count([EQCOLColAgency14])+Count([EQCOLColAgency15])+Count([EQCOLColAgency16])+Count([EQCOLColAgency17])+Count([EQCOLColAgency18])+Count([EQCOLColAgency19])
This is the truncated version---I need to include 25 fields but this won't fit.
Can someone help me with the proper syntax to use a wildcard in my query expression? All the fields to be counted start the same---the only difference is the number 1 to 25.
Thanks in advance,
Jim
I have a problem in which my original expression using the COUNT function in a Select Query worked but was too long to include all necessary fields.
For example, my original expression was:
EQCOLNegAcctsTotal: Count([EQCOLColAgency1])+Count([EQCOLColAgency2])+Count([EQCOLColAgency3])+Count([EQCOLColAgency4])+Count([EQCOLColAgency5])+Count([EQCOLColAgency6])+Count([EQCOLColAgency7])+Count([EQCOLColAgency8])+Count([EQCOLColAgency9])+Count([EQCOLColAgency10])+Count([EQCOLColAgency11])+Count([EQCOLColAgency12])+Count([EQCOLColAgency13])+Count([EQCOLColAgency14])+Count([EQCOLColAgency15])+Count([EQCOLColAgency16])+Count([EQCOLColAgency17])+Count([EQCOLColAgency18])+Count([EQCOLColAgency19])
This is the truncated version---I need to include 25 fields but this won't fit.
Can someone help me with the proper syntax to use a wildcard in my query expression? All the fields to be counted start the same---the only difference is the number 1 to 25.
Thanks in advance,
Jim