By using this website, you agree to our Terms of Use (click here)
= iif ( ([INKitSpecStkDet.CompInventoryID] = Null), [ARTran.InventoryID] , [INKitSpecStkDet.CompInventoryID])
This is returning an integer value for the Inventory ID if true and and integer value of the Componenet Inventory ID if false - (dB sequence numbers?) . How do I get it to return the actual part numbers (not descriptions)?
You need to join ARTran and INKitSpecStkDet to IN.InventoryItem (note: the table needs to be added twice to the GI, once for each join) and then use the field [InventoryItem.InventoryCD]
In relations tab you need to relate via ID fields - in the results formula, if you want the CD values then use those in the IIf formula result.
Check that you used the right Schema field for that formula as well. If you used an int field, then you would likely get an error (similar to the one you listed above). You can leave Schema field blank in this instance.
