Set Range on G/L Account Code Field

nileshr18
Member Posts: 27
I want to filter the record using setrange on No. field in G/L account table
and display the filtered record for example I want to dispaly the No. from
563. to 563.0002,I want to apply the filter on No field of G/L Account table ?
and display the filtered record for example I want to dispaly the No. from
563. to 563.0002,I want to apply the filter on No field of G/L Account table ?
0
Comments
-
I am sure you know how to use SetRange. Can you elaborate a bit please. O:)Sandeep Prajapati
Technical Consultant, MS Dynamics NAV0 -
use following code:
GLAcc.SETRANGE("No.",563,563.002);
or u can also take help from c/side reference guide.
Pranav
Intech Systems Pvt. Ltd.
Pranav Joshi
MS Dynamics NAV Consultant
SBS Group Desert Mountain (Formerly Silverware Inc.)0 -
Becareful! Character counts!
563 is different than 563.000. :!:Confessions of a Dynamics NAV Consultant = my blog
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book0 -
It means you need something like:
GLAcc.SETRANGE("No.",'563.000','563.002');
0 -
Alex Chow wrote:Becareful! Character counts!
563 is different than 563.000. :!:
That is something which one should avoid i.e having different number of characters in the G/L Account code. Place 0 to make them uniform.CA Sandeep Singla
http://ssdynamics.co.in0 -
kine wrote:It means you need something like:
GLAcc.SETRANGE("No.",'563.000','563.002');
Thanks for the clarification.
I keep assuming people know.Confessions of a Dynamics NAV Consultant = my blog
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book0
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