I have a custom report using CI_Item and IM_ItemWarehouse (Sage 2013). I want the item extended description to print if there is one, otherwise print the item description. I added a UDF for the Extended Description Text to the CI_Item table. My description formula is as follows: if {CI_Item.ExtendedDescriptionKey} = "" then {CI_Item.ItemCodeDesc} else {CI_Item.UDF_EXT_DESC_TEXT} This formula doesn't print either the item description or the extended item description. If I change the = to , it prints the first 30 characters of the extended description only; still no Item Descriptions. I did have some success by adding both the item description and the UDF Ext_Desc_Text to the report (one on top of the other) and put in a suppression formula on the Item Description field to suppress printing if the CI_ItemExtendedDescriptionKey = "". This works great on the Crystal Report, but throws off the column alignment when exporting to Excel. The client needs this report in Excel, so I went back to trying to create a formula. Can anyone tell me what is wrong with the above formula, or suggest another formula? Thanks in advance for your replies.
↧