Skip to main content

Good day, 

Below is a formula that i am trying to replace the Inventory ID with the line description for a specific Inventory item.  Replace part works.  I get a new field with the description but something is wrong with my IF statement.  I can an error from the system it is outside the array =

Index was outside the bounds of the array.

I would also rather then you the entire id but use the EZ start with; but can’t fine the correct formula.  In case the user decides to change the ID. 

=IIf( pPOLine.InventoryID]=EX-99-ZZ-ZZ-ZZZZ06-ZZZ, Replace( ePOLine.InventoryID], oPOLine.InventoryID],tPOLine.InventoryID_description],iPOLine.InventoryID] ))


Your assistance is greatly appreciated.

Attached hew GI

Evan

Be the first to reply!

Reply