Filtering records

bindumlh
Member Posts: 3
Hi all,
Can any one pls tell me how to filter records in a table in Navision based on starting record number and ending record number of the table
Can any one pls tell me how to filter records in a table in Navision based on starting record number and ending record number of the table
0
Comments
-
F7 on that field you want to filter and enter starting number..ending number or 1..10000 by example.
In C/AL use setrange.0 -
If it is an integer, I would say:
recYourTable.RESET; recYourTable.SETCURRENTKEY("Your Field"); // if the index exists and there isn't a better index. recYourTable.SETRANGE("Your Field",intStartRecordNo,intEndRecordNo);
Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Hi all
Firstly Thank u for ur replies.
But actually wat my query is I want the set of records not based on any fld in table.
From dotnet i am calling a function in navision
This func gets starting recno and ending no from dotnet
ex: starting rec no 11
ending rec no. 20
for this i need to retrieve 10 records i.e., from 11 th rec to 20th rec.
and return this data to dotnet.
So can anyone tell me that is it possible to retrieve record number(position)
from a table in navision so that i can setrange the record number according to my reqts.
Thank u0 -
From where come the recordnos?
Navision doesn't have recordnos. Except some tables in which field "Entry No." is the primary key.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