How to show Lookup field in report?

edited 12:57PM in FastReport 4.0
Hello,

I have a dataset in Delphi, that uses LookupCombo-s to show the values.
e.g. 1=USA, 2=Russia etc.

I need to show these fields in Fr but If I point to the field it will show 1, 2 etc. respectively instead of Usa, Russia.

I couldn't find LookupCombo in Fr (except for dialogs but this is not the case).

How can I solve this problem? To make a calculated field for each of these lookup fields would slow the application.

Comments

  • gpigpi
    edited 12:57PM
    Try to write user function to decode number (1, 2) to text (USA, Russia)
  • edited 12:57PM
    Hello,

    Thank you for the answer. Do you mean this function in Delphi?

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.