Hi
Not sure if anyone can help. We have some code that si not bringing through all of the results if there is more than one of the same vwWorksSchedule.orderlinetype. This is in a group section expert for Suppress(no drill down)
If they are numbered 1 and 2 and 3 then it works. However if they are number 1 and 2 and 2 and 3 then I don't get the correct result through. Sorry this is hard to explain.
So if the vwWorksSchedule.orderlinetype as more than one 2 for example, how can I get it to display. These are all part of order numbers. I personally thinks maybe there should be an Else statement after, I have tried some things but losing the battle. Sorry it is not very well explained, but if anyone can see anything obvious with the code nay help would be appreciated. Thanks
if {vwWorksSchedule.Name} <> "MDF"
then
{vwWorksSchedule.WOSLineType} = 2 or {vwWorksSchedule.WOSLineType} = 3
or
({vwWorksSchedule.WOSLineType} = 1
and {vwWorksSchedule.orderlinetype} = 1
and {vwWorksSchedule.ProcessLine} > 1)
//and {vwWorksSchedule.ProcessLine} <> {vwWorksSchedule.orderlinenumber}
or
({vwWorksSchedule.WOSLineType} = 1
and {vwWorksSchedule.orderlinetype} = 2
and {vwWorksSchedule.ProcessLine} > 1)
and {vwWorksSchedule.ProcessLine} <> {vwWorksSchedule.orderlinenumber}
Or
({vwWorksSchedule.WOSLineType} = 1
and {vwWorksSchedule.orderlinetype} = 3
and {vwWorksSchedule.ProcessLine} <> {vwWorksSchedule.orderlinenumber})
Not sure if anyone can help. We have some code that si not bringing through all of the results if there is more than one of the same vwWorksSchedule.orderlinetype. This is in a group section expert for Suppress(no drill down)
If they are numbered 1 and 2 and 3 then it works. However if they are number 1 and 2 and 2 and 3 then I don't get the correct result through. Sorry this is hard to explain.
So if the vwWorksSchedule.orderlinetype as more than one 2 for example, how can I get it to display. These are all part of order numbers. I personally thinks maybe there should be an Else statement after, I have tried some things but losing the battle. Sorry it is not very well explained, but if anyone can see anything obvious with the code nay help would be appreciated. Thanks
if {vwWorksSchedule.Name} <> "MDF"
then
{vwWorksSchedule.WOSLineType} = 2 or {vwWorksSchedule.WOSLineType} = 3
or
({vwWorksSchedule.WOSLineType} = 1
and {vwWorksSchedule.orderlinetype} = 1
and {vwWorksSchedule.ProcessLine} > 1)
//and {vwWorksSchedule.ProcessLine} <> {vwWorksSchedule.orderlinenumber}
or
({vwWorksSchedule.WOSLineType} = 1
and {vwWorksSchedule.orderlinetype} = 2
and {vwWorksSchedule.ProcessLine} > 1)
and {vwWorksSchedule.ProcessLine} <> {vwWorksSchedule.orderlinenumber}
Or
({vwWorksSchedule.WOSLineType} = 1
and {vwWorksSchedule.orderlinetype} = 3
and {vwWorksSchedule.ProcessLine} <> {vwWorksSchedule.orderlinenumber})