I have customized the Cheque report (Cheque_US) in D365 F&O. Added a new textbox to the design on the Cheque section in the bottom and wanted to show/hide based on the value of Amount field. There is an error when I open the report. Not sure what is wrong
"The Hidden expression for the text box 'Textbox39' contains an error: Input string was not in a correct format.
this problem is due type of Amount fields is string.
so you must to convert from string to decimal.
try this :
IIF(CDec(Fields!Amount.Value) <= 0, True, False)
Best regards,
Mohamed Amine MAHMOUDI
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.