Concatenating jobnum and partnum on job traveler

Hello!
I’m trying to create a barcode concatenating JobNum and PartNum on our Job Traveler


However, it’s giving me this error when I try to upload
image
I tried removing First prefix on the expression, removing the dataset reference but I still get this error. Please advise!

Try providing scope for the partnum.

Hi, thank you for your suggestion, how would I do this?

In our barcode fields, we use the fields : Calc_BCJobNum and Calc_BCPartNum. IDK if they do something special to the values to make them barcodeable. Try concatenating those together.

Hi Nate, thank you for your suggestion! I’m still receiving the same error :frowning:

WHERE are you trying to place this barcode exactly? In the Header or Footer?

Right now, the header or body of the page. We’re running tests and this can be changed later; we just need the barcode to show

If outside of the Tablix you will usually need some Code to assist.

How can I tell from the Tablix Member if I’m outside of the scope? Thank you again for your responses

If you are in the header or footer or outside of the grid area you see highlighted in your image you would need some Code similar to this to update items outside of the Tablix:

Public Function SetVarBcJobNum(CalcBCJobNum as String) as String
    If (CalcBCJobNum <> nothing) then
       SetValue("varBcJobNum", CalcBCJobNum)
    End if
    Return GetValue("varBcJobNum")

End Function

Public Function SetVarPartNum(PartNum as String) as String
    If (PartNum <> nothing) then
        SetValue("varPartNum", PartNum)
    End if
    Return GetValue("varPartNum")
End Function

My field in the image above is outside of the Tablix.

1 Like