Show many lines in report
lilianatavares
Member Posts: 39
Hello!
I want to show in a report all the records of Customer X that you are in Table Cust. Ledger Entry.
In the trigger Customer, GroupFooter - OnPreSection () I write:
" Cust. Ledger Entry ".SETFILTER (" Cust. Ledger Entry "."No. ", No. ");
IF " Cust. Ledger Entry ".FIND (' - ' )THEN;
It is the report it only prints the first record.
How can I do for him to print all the record's?
Thank's
I want to show in a report all the records of Customer X that you are in Table Cust. Ledger Entry.
In the trigger Customer, GroupFooter - OnPreSection () I write:
" Cust. Ledger Entry ".SETFILTER (" Cust. Ledger Entry "."No. ", No. ");
IF " Cust. Ledger Entry ".FIND (' - ' )THEN;
It is the report it only prints the first record.
How can I do for him to print all the record's?
Thank's
0
Comments
-
I don't exactly understand what you are trying to accomplish but do you have a report with tables ?
DataItemTable=Table18;
ReqFilterFields=No.;
and
DataItemIndent=1;
DataItemTable=Table21;
DataItemLink=Customer No.=FIELD(No.);
If so then you don't have to code it since Dataitemlink does the job.
Tõnu0 -
Hello,
Simplifying, I want is to see all the records that the filter comes back through code.
For example:
Record.SETFILTER(Record.No,'<>%1',No);
IF Record.FIND('-')THEN;
Thank's0 -
Hi!lilianatavares wrote:Hello!
I want to show in a report all the records of Customer X that you are in Table Cust. Ledger Entry.
In the trigger Customer, GroupFooter - OnPreSection () I write:
" Cust. Ledger Entry ".SETFILTER (" Cust. Ledger Entry "."No. ", No. ");
IF " Cust. Ledger Entry ".FIND (' - ' )THEN;
It is the report it only prints the first record.
How can I do for him to print all the record's?
Thank's
With this filter you filter CLE entry number and customer number.
I think that you should filter " Cust. Ledger Entry ".SETFILTER("Customer No.","No.") if you want to filter all CLE of customer.
And if you want to print those CLE, then you have to have a DataItem for that. Have you DataItem? And you can set "filter" in dataitem's properties.
Sample picture
Bostjan0 -
lilianatavares wrote:Hello,
Simplifying, I want is to see all the records that the filter comes back through code.
For example:
Record.SETFILTER(Record.No,'<>%1',No);
IF Record.FIND('-')THEN;
Thank's
Hi!
Or you want just loop the recordset?
Record.SETFILTER(Record.No,'<>%1',No);
IF Record.FIND('-')THEN BEGIN
REPEAT
// Your action here
UNTIL Record.NEXT = 0;
END;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
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 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