Skip to main content
Answer

Negative Value view change

  • December 10, 2023
  • 3 replies
  • 227 views

Forum|alt.badge.img+9

Hi Team,

I have a Generic Inquiry in which i want to change the visual of a negative number to be viewed in Parentheses rather than -### of the fields Credit amount, Debit amount and Net amount.

I attempted to use the this format function in the Generic Inquiry, but did not worked.

#,##0.00;#,##0.00

Attached is my Generic Inquiry 

 

Regrads,

Sweta

Best answer by sweta68

@Naveen Boga , 

Thanks for your solution. I appreciate your efforts. I have converted the field into string to view the negative value into the Parentheses and it works for me and client is happy with this.

Regards,

Sweta

3 replies

Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • December 11, 2023

@sweta68  As you are using the Total Aggregate Functions for these fields, it will consider only the Numeric fields. If we add the Parenthesis for the -ve numbers Total Aggregate functions will not work.

As an alternate, you can highlight the -ve amount fields with the ROWStyles. 

 

Hope this helps!


Forum|alt.badge.img+9
  • Author
  • Semi-Pro III
  • Answer
  • December 14, 2023

@Naveen Boga , 

Thanks for your solution. I appreciate your efforts. I have converted the field into string to view the negative value into the Parentheses and it works for me and client is happy with this.

Regards,

Sweta


Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • December 14, 2023

@sweta68  Awesome :) Thanks for sharing the update.