Options

How to Change the Field Caption through Coding?

chandrurecchandrurec Member Posts: 560
Hi all,

I am setting the request filter field as Document No in report having sales line data item.

When I run the report its is displaying the caption as Document No. in the preview screen of the report.

I want to change the caption to PO No instead of Document No before running the report.

Is ther anyway through coding can we change the caption of a field ?

Thanks in advance.

Regards,
Chandru.

Comments

  • Options
    matttraxmatttrax Member Posts: 2,309
    On the printed / previewed report? The caption is just text in a text box. You can change it to whatever you want.

    If you mean on the request form, no. You can add it to the Options tab with your own label, but on the filter screen of the request form.
  • Options
    vaprogvaprog Member Posts: 1,118
    The only way to change it is to define a CaptionClass on the underlying table (or, or course, the Caption per se at the same place).
Sign In or Register to comment.