esings2him
Programmer
Hi! I've been having trouble getting a field value to repeat so I can group on it and use it as a parameter. What I would like to see is the sales order number repeated as shown below.
SO# Sales Job Parent/Child Jobs TargetJobNum
0000093 WXYZ-0000093_1 001012 WXYZ-0000093_1
0000093 WXYZ-0000093_1 001012-XM502 001012
0000093 WXYZ-0000093_1 001012-RM208 001012
0000093 WXYZ-0000093_1 001012-WM207 001012
0000093 WXYZ-0000093_1 001012-YM210 001012
Currently, I'm getting these results:
SO# Sales Job Parent/Child Jobs TargetJobNum
0000093WXYZ-0000093_1 001012 WXYZ-0000093_1
WXYZ-0000093_1 001012-XM502 001012
WXYZ-0000093_1 001012-RM208 001012
WXYZ-0000093_1 001012-WM207 001012
WXYZ-0000093_1 001012-YM210 001012
Here's my formula for the SO#:
If Length ({Table.TargetJobNum}) > 6 then
Mid ({Table.TargetJobNum}, 6, 7)
I've created a RT and it gives me the results I want, but I can't group on it or use it as a parameter. What else would give the results I'm looking for?
SO# Sales Job Parent/Child Jobs TargetJobNum
0000093 WXYZ-0000093_1 001012 WXYZ-0000093_1
0000093 WXYZ-0000093_1 001012-XM502 001012
0000093 WXYZ-0000093_1 001012-RM208 001012
0000093 WXYZ-0000093_1 001012-WM207 001012
0000093 WXYZ-0000093_1 001012-YM210 001012
Currently, I'm getting these results:
SO# Sales Job Parent/Child Jobs TargetJobNum
0000093WXYZ-0000093_1 001012 WXYZ-0000093_1
WXYZ-0000093_1 001012-XM502 001012
WXYZ-0000093_1 001012-RM208 001012
WXYZ-0000093_1 001012-WM207 001012
WXYZ-0000093_1 001012-YM210 001012
Here's my formula for the SO#:
If Length ({Table.TargetJobNum}) > 6 then
Mid ({Table.TargetJobNum}, 6, 7)
I've created a RT and it gives me the results I want, but I can't group on it or use it as a parameter. What else would give the results I'm looking for?