How to send parameter and then clear it?
julkifli33
Member Posts: 1,100
i send parameter from SO
and in report,i create function like this
first i send parameter is correct (SO001)
and then second (SO002)..... it appears the first parameter (SO001)
how to clear it?
BEGIN
CLEAR(ImportMatSO);
ImportMatSO.Param("No.");
ImportMatSO.RUNMODAL;
END;
and in report,i create function like this
Param(ParDoc : Code[20]) DocNo := ParDoc;
first i send parameter is correct (SO001)
and then second (SO002)..... it appears the first parameter (SO001)
how to clear it?
0
Answers
-
WHat do you mean withfirst i send parameter is correct (SO001)
and then second (SO002)..... it appears the first parameter (SO001)
how to clear it?
What do you mean with "Second"? It is second call to the function? It is called in a loop?0 -
kine wrote:WHat do you mean withfirst i send parameter is correct (SO001)
and then second (SO002)..... it appears the first parameter (SO001)
how to clear it?
What do you mean with "Second"? It is second call to the function? It is called in a loop?
what i mean second is second imports
i already fix it
it because in that report properties SaveValues = yes
I change become no
now it works0 -
you mean when i am going to clear a report, the request form does not clear.have you debuge to calling function parameter.
Param(ParDoc : Code[20]) DocNo := ParDoc;
check what's value of ParDoc here?
have you try it with call by reference?0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
