I am trying to use the same, but the problem is the sr no. are not displayed correctly.
If there is one gap in the purchase line then the sr no. is not displayed correctly.
1 1001 Manual for Loudspeakers,Manual for Loudspeakers with
1 Stand for Loudspeakers LS-150
2 1002 Spike for LS-100
3 1003 Base speaker unit 15" 100W
I have tried many workarounds, but it does not work.
In india database there is a report id. 16593 which is an example of this issue..
Regards,
Manish
0
Answers
So you need to be more specific on what the issue is for us to help you.
/Claus Lundstrøm
I'm blogging here:http://mibuso.com/blogs/clausl and used to blog here: http://blogs.msdn.com/nav
I'm also offering RDLC Report Training, ping me if you are interested. Thanks to the 700 NAV developers that have now already been at my training. You know you can always call if you have any RDLC report issues :-)
Sr No. Item Code Item Desc
1 1001 Manual for Loudspeakers,Manual for Loudspeakers with
1 Stand for Loudspeakers LS-150
2 1002 Spike for LS-100
3 1003 Base speaker unit 15" 100W
with extened warranty.
If there we enter description in second line of the purchase order then there is issue of displaying the serial no.
I have tried many workarounds, but it does not work (i.e. Check Item Code for blank in 2nd line,try to hide the 2nd sr no. RTC)
Manish
Hope this help you..
In the Posted Sales Invoice you can see that only 2 item are there & for 1st item the desc. is entered in line no. 10000,20000,30000 & 40000.
Where as for 2nd item there is only single desc.
In report the Sr No. is shown as 1,2,3,4,5 where as it should be shown as 1 & 2 only, cause the invoice is having only 2 items.
Manish
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
1
1
1
1
2
Isn't it? manish, IF this is not what you want, you can do:
a. use another variable to show the serial no. and clear the variable while looping the rows
or (this is more funny), use the "hideduplicates" property of the rdlc report, on the textbox of serial no. (this must be done after applying mohana's code, obviously)...otherwise you won't have duplicates to remove
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
Considering all your passed exams under your signature I'm amazed that this represents such a problem that you are forced to post it on this forum. Next time do please stick to NAV naming rules and write "Line No.".
Looks you have not read all the reply posted here.
Manish
RIS Plus, LLC
\:D/
Manish
Hideduplicates is also not working, also tried with the visibility property also but no luck.
Manish
Where SNoTxt is a text type variable
Assign SNoTxt in SourceExp
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Your problem is most probably "dirty data" that spans from line "1" to the subsequent lines in the dataset.
It's now your duty (and job) to figure out how to apply our suggestions and make the report work (actually, as rhpnt remarked, if you got certified you should have experience to solve the problem..which is PROBABLY solvable without even opening the rdlc designer)
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
Manish
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
You can also see the same in Cronus India DB, Posted Sales Invoice No. 103014 & Print Excise Invoice.
Manish
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
I tried something & it worked, below is the code.
IF SalesInvoiceLine."No."<>'' THEN BEGIN
SrNo:=INCSTR(SrNo1);
SrNo1:=SrNo;
END ELSE
SrNo:='';
SrNo & SrNo1 data types = code.
SrNo1:=0; assigned on OnPreReport trigger
Attaching the screen shot.
Manish