Sweetworks
MIS
I have a report that I am using from one database to another.
No problem seting the new location.
When I run it it turns out one of the feilds is backwards and my formula no longer works.
Here is what the formula does.
ToNumber (Left ({LABOR_TICKET.EMPLOYEE_ID},2))
The old Data looked like this.
03MANCREW
The new data looks like this.
CREW03-1
I need to change the formula to capture the 4th and 3rd Character from the Right. It will alwasy be the 4th and 3rd Characet from the Right. THe First Character varies too much from the left position.
Basically I want to do a left 2 of a Right 4
I've tried this
stringVar RIGHT_SIDE:= RIGHT ({LABOR_TICKET.EMPLOYEE_ID}, 4);
ToNumber (Left (RIGHT_SIDE,2))
But it didn't work.
No problem seting the new location.
When I run it it turns out one of the feilds is backwards and my formula no longer works.
Here is what the formula does.
ToNumber (Left ({LABOR_TICKET.EMPLOYEE_ID},2))
The old Data looked like this.
03MANCREW
The new data looks like this.
CREW03-1
I need to change the formula to capture the 4th and 3rd Character from the Right. It will alwasy be the 4th and 3rd Characet from the Right. THe First Character varies too much from the left position.
Basically I want to do a left 2 of a Right 4
I've tried this
stringVar RIGHT_SIDE:= RIGHT ({LABOR_TICKET.EMPLOYEE_ID}, 4);
ToNumber (Left (RIGHT_SIDE,2))
But it didn't work.