I am working on a formula in a GI:
IIf(CROpportunityProducts.InventoryID = ‘NON-INVENTORY ITEM’, CROpportunityProducts.Descr,CROpportunityProducts.InventoryID)
I’m getting an error because InventoryID field is int type and the Descr field type is nvarchar(256)
I’ve tried several of the conversion formulas (CInt) but I can’t get it to work.
Any advice?