Skip to main content

I have added 2 attributes to a production order.  I want to print these on the production order ticket report AM625000.

I added AMProdAttribute to the report with the following relationship.

 

I then added 2 new Text Boxes to the report with the following values:

=IIf( (AMProdAttribute.AttributeID]='STARTCASE', ,AMProdAttribute.Value], '' )
the second box has this value

=IIf( (AMProdAttribute.AttributeID]='ENDCASE', ,AMProdAttribute.Value], '' )

 

The first box prints as desired, but the second does not print anything.  



​​

Here are the only records in AMProdAttribute:

 

Any suggestions are greatly appreciated!!!!!

Hello,

I believe my issue may be the result of the join.

There does not seem to be a true “left outer join” option in the report builder.

I chose left thinking it was an outer join.

Which of these would produce a left outer join?

 


OK, I am reading there is no difference between a left join and a left outer join.

Anyone have any ideas why I only see a value on one of my text boxes and not both?

From above:

=IIf( [AMProdAttribute.AttributeID]='STARTCASE', [AMProdAttribute.Value], '' )
the second box has this value

=IIf( [AMProdAttribute.AttributeID]='ENDCASE', [AMProdAttribute.Value], '' )

 


Just an FYI

 

I got around this by making an attribute with a format of xxxx-xxxx.  The first 4 characters are the starting number and the second four numbers are the second number.


Thank you for sharing your solution @ltussing03 !


Reply