Print record in a section Vertically

vijay_g
Member Posts: 884
can someone give me the link so that i could be print detail like this
item no. 101 102 103
Name test1 test2 test3
BUOM kg kg Ltr
Inventory 100 200 300
earlier i have found it here but now i am not able to serach it.
item no. 101 102 103
Name test1 test2 test3
BUOM kg kg Ltr
Inventory 100 200 300
earlier i have found it here but now i am not able to serach it.
0
Comments
-
you have to populate a temporary table of the item, with the fields you want, then print your item temptable through an integer dataitem (filtered by const(1)).
in the sections you draw a number of textboxes based on how many fields you want, with a sourceexpr like
TXTItemNo (1024 characters)
TXTItemName (1024 characters)
in the onaftergetrecord of the integer table, you loop into your item temptable, and concatenate the fields in your variables like this:repeat Txtitemno += tbitemtemp."no." + ' - '; Txtitemname += tbitemtemp.description + ' - '; until tbitemtemp.next = 0;
and pray to not overcome the 1024 characters (or cut the string at the 1024th character).
P.S.: you can use more than one text variable per field (txtitemno1,txtitemno2) or an array, and concatenate them in the sourceexpression, if you expect to overcome the text limit.0 -
Belias wrote:and pray to not overcome the 1024 characters (or cut the string at the 1024th character).
REPEAT FinalString := COPYSTR(FinalString + StringToAdd, 1, MAXSTRLEN(FinalString)); UNTIL ((Your_Normal_Stop_Condition) OR (STRLEN(FinalString) = MAXSTRLEN(FinalString) );
That will make sure you never copy too much and avoids looping more times than is needed (Wouldn't want to reach the limit and try to copy 10,000 more characters, for example).0 -
I have done this kind of report few month ago.
To do this I have taken Temporary Record as an ARRAY Variable.
It will be interesting when No Of records (to be prented) are more than No of Columns.Now or Never0 -
Belias wrote:navuser1 wrote:It will be interesting when No Of records (to be prented) are more than No of Columns.
Thanks to all..
it's not a typical job to do because i have fixed two column and four rows(eight record) in every page. i was just looking
the object here that i have seen earlier it was perfact.
Note--that object gives you choice also to fillup(no of column with maximum 5 limit) runtime that how many column you want to display for a page.0 -
Report 5610 "Fixed Asset - G/L Analysis" can be a good starting point.CA Sandeep Singla
http://ssdynamics.co.in0
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