I have a Query, the output looks like this:
Part Number Order# Est. Hours Workcenter Status Buffer
S-CA5143 12500 4.50 1ST END FINISHED
S-CA5147 12570 6.80 1ST END FINISHED
S-CA5143 12500 22.90 ASSEMBLY X
S-CA4890 12215 12.46 1ST END STARTED
S-CA5143 12522 4.50 1ST END
S-CA5147 12570 18.75 ASSEMBLY STARTED X
S-CA4890 12215 27.45 ASSEMBLY
S-CA5143 12522 22.90 ASSEMBLY
This is part of our scheduling report. A job starts in the 1ST END workcenter, after they are finished then the ASSEMBLY workcenter works on it. The buffer column is used to show if a job is ready to be worked on by that workcenter, so in the first row, S-CA5143 is finished in the 1ST END workcenter, so an X would go in the buffer column in the 3rd row. Right now we are manually writing that X in the buffer column, I want to automate that. I tried creating a formula:
iif(([Workcenter]="1ST END" and [status] = "Finished"),"X",null)
but all this does is put an X in the row that has the 1ST END workcenter, which is not what I want. When 1ST END is finished I want the X to go in the row with the ASSEMBLY workcenter.
Any help would be greatly appreciated!
Thanks!
C. Johnson
Part Number Order# Est. Hours Workcenter Status Buffer
S-CA5143 12500 4.50 1ST END FINISHED
S-CA5147 12570 6.80 1ST END FINISHED
S-CA5143 12500 22.90 ASSEMBLY X
S-CA4890 12215 12.46 1ST END STARTED
S-CA5143 12522 4.50 1ST END
S-CA5147 12570 18.75 ASSEMBLY STARTED X
S-CA4890 12215 27.45 ASSEMBLY
S-CA5143 12522 22.90 ASSEMBLY
This is part of our scheduling report. A job starts in the 1ST END workcenter, after they are finished then the ASSEMBLY workcenter works on it. The buffer column is used to show if a job is ready to be worked on by that workcenter, so in the first row, S-CA5143 is finished in the 1ST END workcenter, so an X would go in the buffer column in the 3rd row. Right now we are manually writing that X in the buffer column, I want to automate that. I tried creating a formula:
iif(([Workcenter]="1ST END" and [status] = "Finished"),"X",null)
but all this does is put an X in the row that has the 1ST END workcenter, which is not what I want. When 1ST END is finished I want the X to go in the row with the ASSEMBLY workcenter.
Any help would be greatly appreciated!
Thanks!
C. Johnson