When we open the test report of any invoice, the no. filter field automatically gets the current invoice no.
If we create a customize report and run it it will not get the invoice no automatically ,we have to insert it manually.
Can we insert the current invoice no. in the report automatically?
0
Answers
CurrForm.SETSELECTIONFILTER(SalesInvHeader)
on the print option of Posted Sales Invoice form.
http://ssdynamics.co.in
so even though you can access cal/code in reports, you can not make the form you are working with feed the no to the report.
if you are a developers then the above example works great.
Make sure you clear the runobj property of the button. The TBslshead variable points to the same table of the current form i.e. "sales invoice header"
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
Its Working Now. \:D/