G
Guest
I have a table named STOPS Test. In this table there is a column named DOS
which stands for days of service. In the DOS column, when ever service is
performed on SMTWTFS, the correct combination is returnded in that cell.
For example if service was performed on Sunday, Monday Wednesday and FRiday,
SM_W_F_ will show up in the DOS column. I am trying to capture sunday
service. As result, I am trying to write an expression in a query that will
count all of the "S" that appear in the serventh text position in column DOS.
This way I could see how many times we provided service on Saterday.
I wrote the below, however I keep getting errors and I dont know why:
I dont know what is the best way to capture Saterday service, maybe instead
of 1 I should tell the formula to sum? Please help.
Saterday: IIf(Mid([STOPS Test]![DOS],7,1)="S",1,"")
thank you in advance for those who offer assistance.
which stands for days of service. In the DOS column, when ever service is
performed on SMTWTFS, the correct combination is returnded in that cell.
For example if service was performed on Sunday, Monday Wednesday and FRiday,
SM_W_F_ will show up in the DOS column. I am trying to capture sunday
service. As result, I am trying to write an expression in a query that will
count all of the "S" that appear in the serventh text position in column DOS.
This way I could see how many times we provided service on Saterday.
I wrote the below, however I keep getting errors and I dont know why:
I dont know what is the best way to capture Saterday service, maybe instead
of 1 I should tell the formula to sum? Please help.
Saterday: IIf(Mid([STOPS Test]![DOS],7,1)="S",1,"")
thank you in advance for those who offer assistance.