MARK all the records from a table

LLOSETI
Member Posts: 4
Hi friends...
does exist any way to select all the registers of a table and set them as Marked (TRUE)?
Something similar to MODIFYALL but MARKALL or something like that...
My issue is the following... I have a very big table. We have a page with two parts, on TOP User can apply filters on different fields.

For a better yield I need to internally use the best Key deppending of the filters used by the user else it can waste lot of time
But the final result MUST be shown always in the same order (using always an specific key)
So my solution is:
- use the right key to by used in the filter
- mark all the records in the filter.
- clear filters
- Show only marked records with the final desired key for the user.
But to put the MARK(TRUE) I have to loop through all table records in the filter... and it takes lot of time as well.
If you ask why I am using these Filter boxes instead of use normal way to filter in Nav it is because some of them reffers to other tables differents of the table linked to the page.
Any proposal?
does exist any way to select all the registers of a table and set them as Marked (TRUE)?
Something similar to MODIFYALL but MARKALL or something like that...
My issue is the following... I have a very big table. We have a page with two parts, on TOP User can apply filters on different fields.

For a better yield I need to internally use the best Key deppending of the filters used by the user else it can waste lot of time
But the final result MUST be shown always in the same order (using always an specific key)
So my solution is:
- use the right key to by used in the filter
- mark all the records in the filter.
- clear filters
- Show only marked records with the final desired key for the user.
But to put the MARK(TRUE) I have to loop through all table records in the filter... and it takes lot of time as well.
If you ask why I am using these Filter boxes instead of use normal way to filter in Nav it is because some of them reffers to other tables differents of the table linked to the page.
Any proposal?
0
Answers
-
Mark is not best for performance.
Did you try to just applying the filters to the table with the setcurrentkey you need to order the records and then doing a CurrPage.Refresh(false) doesn't work?
Otherwise: read your table save the records in a temptable and show that to the user.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
[Topic moved from 'NAV/Navision Classic Client' forum to 'NAV Three Tier' forum]
Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!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