I’ve been trying to look up some example that would help my figure this out and I can’t figure out what I need so I am going to ask you guys.
How do I loop through rows in a BPM custom code block to build up a string? I’m trying to do it like I did for writing out CSV’s, but that was using a grid, so something doesn’t translate like I was hoping it would. This is the start of what I have, but I get an error.
CS1061 'ShipDtlTable' does not contain a definition for 'Table' and no extension method 'Table' accepting a first argument of type 'ShipDtlTable' could be found (are you missing a using directive or an assembly reference?)
I was trying to do too much! thanks. Looking at your examples, I realized that I didn’t need the ttShipDtl in the “row.ttShipDtl.OrderNum” pieces. I took those out and now I get no errors. Looks like this.
Jose, What do you mean about the interpolated string usage in a BPM? I’ve been using code like this and it has been working fine. Did I misunderstand something?
@Nathan_Woolen that works, I was referring specifically to the $“{var}” syntax referenced above by suteraj20. That’s C#6 and not yet available in most versions of E10