vba - Microsoft Access/Count words -
how can count words in access column? example have 33 words "rec" , 20 "norec" , want number display in 2 text-boxes, 1 rec , 1 norec.
i not think need vba this, can make use of totals
query desired result want.
select sum(iif(yourcolumnname = "rec", 1, 0)) totalrec, sum(iif(yourcolumnname = "norec", 1, 0)) totalnonrec yourtablename
Comments
Post a Comment