Report from different companies table

kmkaotkmkaot Member Posts: 261
Hi,

I need to generate a report in company but data for for particular column should come from table in another company.

How to set the data?

Please

KMK

Comments

  • Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    You need to define a record variable and use the CHANGECOMPANY-function to ... change the company for that variable, like this:
    recGLEntry.CHANGECOMPANY('Company 2');
    recGLEntry.SETCURRENTKEY(...);
    
    Read the on-line help for more info about this function.
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • kmkaotkmkaot Member Posts: 261
    Thank you very much..
Sign In or Register to comment.