求简化代码,谢谢。
统计YS字段包含"A"记录的数量,自己写的 count FOR SUBSTR(YS,1,1)="A" OR SUBSTR(YS,2,1)="A" OR SUBSTR(YS,3,1)="A" OR SUBSTR(YS,4,1)="A" OR SUBSTR(YS,5,1)="A" OR SUBSTR(YS,6,1)="A" OR SUBSTR(YS,7,1)="A"。有更简单的吗?

[此贴子已经被作者于2020-3-26 11:38编辑过]