Dynamic Export of Table Data (Navision)

Administrator
Member, Moderator, Administrator Posts: 2,506
Dynamic Export of Table Data (Navision)
Two forms that allow you to open a table select fields and automatically send them to Excel.
http://www.mibuso.com/dlinfo.asp?FileID=583
Discuss this download here.
Two forms that allow you to open a table select fields and automatically send them to Excel.
http://www.mibuso.com/dlinfo.asp?FileID=583
Discuss this download here.
0
Comments
-
It Lists only the first 100 records
2 things - On the Creat Report Button on Form 50000
You can make your own sheet name. The download calls it "ZAF Payroll Open Query"Sheet.Name := 'Navision Export';
Sounds better.
If you increase 101 to say 1001 you will get 1000 records instead of 100UNTIL ((RecordSet.NEXT = 0) OR (RowNumber = 101));
One last thing.. say you
1)run the report
2)see the export
3)realize you forgot to add a field
4)go back & check off the additional field
5)click Run Report again
6)Error occurs - Variable Already Created
that would be nice to have it clear & rerun without having to go thru all the steps.
Also, have a two tab form instead of two separate forms.
I think I can find this useful - thanks0 -
I would like to apply the field filter as "Item = ABC"0
-
Hi,
To avoid the variable already created error, use CLEAR.
CLEAR(ExcelApp);
CREATE(ExcelApp);
To apply a field filter:
where (ITEM=FILTER('ABC')) (or something clse to this.
My question is a little more general, how do I export a flowfield? I can see the Class of the FieldTable variable, but when looping through the RecordSet varaible, if I come to a flowfield what is the syntax for calling CALCFIELDS?
Thanks
-a0 -
If you want to filter any field before export try the following:
http://www.mibuso.com/dlinfo.asp?FileID=350®obi
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯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