How to show Lookup field in report?

edited 9:12AM 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 9:12AM
    Try to write user function to decode number (1, 2) to text (USA, Russia)
  • edited 9:12AM
    Hello,

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

Leave a Comment