How to get focus on desired line on the subpage list?
Mauritsio
Member Posts: 27
Hi,
I'm working with subpage of parent page with MS Dynamics NAV 2015. My sub page has fields under repeater group. Does anyone have idea how I can get focus on specific line in subpage by using CAL? Now the focus goes always to the last line on subpage.
Thanks in advance!
I'm working with subpage of parent page with MS Dynamics NAV 2015. My sub page has fields under repeater group. Does anyone have idea how I can get focus on specific line in subpage by using CAL? Now the focus goes always to the last line on subpage.
Thanks in advance!
0
Best Answer
-
Hi Mauritsio,
I had this requirement a couple of times.
I don't remember at the moment, if it was a GET or a Filter to be used.
Give it a try with a filter:SETRANGE(desired_field, desired_value); IF NOT ISEMPTY THEN FINDFIRST; RESET;
By releasing the filter, the record-pointer should be the same.
Be careful when using RESET in this scenario. You may delete a filter which is necessary for the usability of the subpage.
You may run into a problem with this solution. It could be, that you will asked to rename the record.
Play a little bit with GET then.
Good luck.My blog - https://www.HannesHolst.com/5
Answers
-
[Topic moved from 'NAV Tips & Tricks' forum to 'NAV Three Tier' forum]
Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Hi Mauritsio,
I had this requirement a couple of times.
I don't remember at the moment, if it was a GET or a Filter to be used.
Give it a try with a filter:SETRANGE(desired_field, desired_value); IF NOT ISEMPTY THEN FINDFIRST; RESET;
By releasing the filter, the record-pointer should be the same.
Be careful when using RESET in this scenario. You may delete a filter which is necessary for the usability of the subpage.
You may run into a problem with this solution. It could be, that you will asked to rename the record.
Play a little bit with GET then.
Good luck.My blog - https://www.HannesHolst.com/5 -
Hi,
Thanks you for your answer! GET will work to set focus on desired line.0
Categories
- All Categories
- 73 General
- 73 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
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 329 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
