count on records of table
NoiK00
Member Posts: 51
Hey NAV-ers,
I got a small, basic question on how to get the number of records when in table view. Is there a handy functions that will display this information?
Thanks in advance,
NoiK
I got a small, basic question on how to get the number of records when in table view. Is there a handy functions that will display this information?
Thanks in advance,
NoiK
0
Comments
-
What would you guess how should such a function be named?"Money is likewise the greatest chance and the greatest scourge of mankind."0
-
do you mean after a user interaction?
e.g.: a user opens a list form, sets some filters and then he wants to know the no. of records?
no, out of the box, there isn't.
if you are a developer you can easily implement it with the [What would you guess how should such a function be named?] function on the rec variable (you have to do it for every form you need it), otherwise, you can export to excel the table and count the rows0 -
With a function i ment a button, filter....some of these options. So the users can see it.
It seems that there isn't an out of the box one. So i thought maybe there is another handy feature with some combinations of these buttons. That's too bad, now i am "copying" the table to excel and i see the count there. then i keep using that method.
Thanks,
NoiK0 -
you can use the "send to excel button" if you are in nav 5 or more...it's faster than copy/paste for large tables, and you don't even have to run excel manually.
anyway, if you need the counter just on some forms, you can implement the COUNT function in a lable textbox in the bottom of the form (something like the balance field in the journals)0 -
Thanx, with the send as excel button it will work to, maybe the label isn't needed then...we will see..
Thanx0 -
NoiK00 wrote:I got a small, basic question on how to get the number of records when in table view. Is there a handy functions that will display this information?einsTeIn.NET wrote:What would you guess how should such a function be named?
That is the clueNoiK00 wrote:That's too bad, now i am "copying" the table to excel and i see the count there.
rec.COUNT;Regards,
Andwian0 -
We've added that to a few forms here & there - A simple TextBox at the bottom of the screen.
Sourceexp = COUNT
Item List
Customer List
Payment Journal
etc.0
Categories
- All Categories
- 75 General
- 75 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
