Discussions
Activity
Best Of...
Sign In
·
Register
Home
›
NAV/Navision Classic Client
Howdy, Stranger!
It looks like you're new here. Sign in or register to get started.
Sign In
Register
Quick Links
Categories
Recent Discussions
Activity
Best Of...
Unanswered
Categories
All Categories
73
General
73
Announcements
66.7K
Microsoft Dynamics NAV
18.4K
NAV Three Tier
38.4K
NAV/Navision Classic Client
3.6K
Navision Attain
2.4K
Navision Financials
115
Navision DOS
854
Navision e-Commerce
1K
NAV Tips & Tricks
772
NAV Dutch speaking only
615
NAV Courses, Exams & Certification
2K
Microsoft Dynamics-Other
1.5K
Dynamics AX
317
Dynamics CRM
110
Dynamics GP
10
Dynamics SL
1.5K
Other
993
SQL General
385
SQL Performance
33
SQL Tips & Tricks
34
Design Patterns (General & Best Practices)
Architectural Patterns
10
Design Patterns
5
Implementation Patterns
53
3rd Party Products, Services & Events
1.7K
General
1.1K
General Chat
1.6K
Website
79
Testing
1.2K
Download section
23
How Tos section
259
Feedback
12
NAV TechDays 2013 Sessions
13
NAV TechDays 2012 Sessions
How to choose to dispaly or not a field in a report?
hazem
Member
Posts:
187
2006-04-04
edited 2006-04-05
in
NAV/Navision Classic Client
Hello everybody
Is there a function that make it possible to choose if a field will be displayed or not in a report?
0
Comments
Savatage
Member
Posts:
7,142
2006-04-04
Who does the choosing?
Do you want it based on some conditions?
(ie/ If USER='XYZ' Then Visible Else......)
Or are they fields you just don't need?
Harry Ruiz
http://www.BiloBeauty.com
http://www.autismspeaks.org
0
kine
Member
Posts:
12,562
2006-04-05
1) There is no way how to set visibility in runtime...
2) You can clear the field and disable printing zero on the control...
3) You can use more sections and show the correct section with correct fields...
Kamil Sacek
MVP
- Dynamics NAV
My
BLOG
NAVERTICA a.s.
0
hazem
Member
Posts:
187
2006-04-05
What i want in my report is that:
" If <Condition> then Field visible
Else Field invisible"
How to do this please?
0
HalMdy
Member
Posts:
429
2006-04-05
Use two different sections, one with the field to display and one without the field.
Then, in the OnPreSection Trigger of each section, use :
CurrReport.SHOWOUTPUT(YourCondition); for the one with the field
CurrReport.SHOWOUTPUT(NOT YourCondition); for the other
Hope that's help ...
0
Sign In
or
Register
to comment.
Comments
Do you want it based on some conditions?
(ie/ If USER='XYZ' Then Visible Else......)
Or are they fields you just don't need?
http://www.BiloBeauty.com
http://www.autismspeaks.org
2) You can clear the field and disable printing zero on the control...
3) You can use more sections and show the correct section with correct fields...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
" If <Condition> then Field visible
Else Field invisible"
How to do this please?
Then, in the OnPreSection Trigger of each section, use :
CurrReport.SHOWOUTPUT(YourCondition); for the one with the field
CurrReport.SHOWOUTPUT(NOT YourCondition); for the other
Hope that's help ...