Marked Fields.. help!

Becka
Member Posts: 178
Hi all 
So, I need to make kinda operations on fields from code.. So I need to view only marked fields.. If any ideas just help me..
:roll:
10x all

So, I need to make kinda operations on fields from code.. So I need to view only marked fields.. If any ideas just help me..
:roll:
10x all

MCSD
Attain Navision
Attain Navision
0
Answers
-
yup, i know where to find it, but how to use it for view marked only reason?MCSD
Attain Navision0 -
In the C/AL Symbol Menu you'll find in the second column Mark with a couple of functions.
If you select a function you can press F1 and you'll see a good help-file.
Tino Ruijs
Microsoft Dynamics NAV specialist0 -
???
i don't understand...so i will tell you everything comes in my head about marks...
USER'S SIDE: you can put marks pressing CTRL+F1, then click on view, marked only to see only the marked fields.
DEVELOPER'S SIDE: use myrec.MARK(true) on a rec to do the same as CTRL+F1...then use myrec.MARKEDONLY(true) to see (and filter) only the marked records.
CLEARMARKS, RESET and CLEAR used with myrec, will toggle the marks
Am I missing something?0 -
Hi Tino..
I know that, I saw the help file, but nothin' useful.. All I need is, to view marked fields in my code.. So if any1 of you have such an experience, or any kinda ideas 'bout how to work this out, just help me..MCSD
Attain Navision0 -
well, well...maybe there is a misunderstanding...you really intend to view marked FIELDS??not RECORDS??
if you are saying fields, what do you mean for "marked fields"?
if you mean records, you have to mark rows in the table one by one, e.g. put myrec.mark(true) in a "repeat until next=0"loop or in an onaftergetrecord trigger.
then use myrec.markedonly(true) instruction which retrieves only marked fields0 -
Becka,
basically... somewhere in the loop when you conditions are met, you do:... YourTable.MARK(TRUE); ...
Then, when you want to work only with MARKEDONLY, you apply any other filters and you go for:YourTable.MARKEDONLY(TRUE);
Tomas,
Dynamics NAV Enthusiast0
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