[STATUSCER]
Field name
STATUSCEROKNGCASCRAPPENDINGBREAK DOWNMISSING
i want to add the contents of the above filed which has many texts right now iam using these to add or count
OK_Count: IIf([STATUSCER]="ok",1,0)
ng_Count: IIf([STATUSCER]="ng",1,0)
pending_Count: IIf([STATUSCER]="pending",1,0)
BREAK DOWN_Count: IIf([STATUSCER]="BREAK DOWN",1,0)
MISSING_Count: IIf([STATUSCER]="MISSING",1,0)
blank_count: IIf(IsNull([statuscer]),1,0)
and i give OK_Count in report it shows count
i want this to be done with Vba code how to do this can any one help
because when i export to Excel i do not get the values of this in the excel report
Field name
STATUSCEROKNGCASCRAPPENDINGBREAK DOWNMISSING
i want to add the contents of the above filed which has many texts right now iam using these to add or count
OK_Count: IIf([STATUSCER]="ok",1,0)
ng_Count: IIf([STATUSCER]="ng",1,0)
pending_Count: IIf([STATUSCER]="pending",1,0)
BREAK DOWN_Count: IIf([STATUSCER]="BREAK DOWN",1,0)
MISSING_Count: IIf([STATUSCER]="MISSING",1,0)
blank_count: IIf(IsNull([statuscer]),1,0)
and i give OK_Count in report it shows count
i want this to be done with Vba code how to do this can any one help
because when i export to Excel i do not get the values of this in the excel report