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

real_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
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
0
Comments
-
Check if the function has Local property set! You should set it to No to make the function visible outside of the current object.0
-
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 --> FunctionsSendoh
be smart before being a clever.0 -
Thank you both for your quick replies will check both the techniques and get back to guys.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions