How to make existing function appear in c/al global window ?

real_ashwinreal_ashwin Member Posts: 5
Hi im really new to Navision. At the moment im using "Microsoft business solution navision 4.0"
Im trying to use an existing function in a new report.

Lets say i have 2 reports A & B.

Report A has a function that i want to use in Report B.

Problem is when i open Report B and try to add that function it does not appear in the C/AL Globals window.

Could you tell me the following:
1) How to make that function appear in the C/AL Globals window so i can select and use it in Form B
2) Why does the function in Report A in the C/AL Globals window.

Regards,
Ash

Comments

  • ar4ijsar4ijs Member Posts: 24
    edited 2008-04-02
    Check if the function has Local property set! You should set it to No to make the function visible outside of the current object.
  • sendohsendoh Member Posts: 207
    you have to assign first a variable for report A.

    go to global variable declaration of Report B then create a variable.

    name datatype subtype
    repA report A


    then press F5 go to repA --> Functions
    Sendoh
    be smart before being a clever.
  • real_ashwinreal_ashwin Member Posts: 5
    Thank you both for your quick replies will check both the techniques and get back to guys.
Sign In or Register to comment.