I cann't print from report view form
willsonfu
Member Posts: 14
I cann't print from report view form ,system view "this report cannot be printed from print preview. Quit print preview and run the report." when i print it
0
Comments
-
Just do alt+F, select print, after you set up your printer first in the panel control print set up. Maybe you forget to set up your printer.
rgds,
Johnson Alonso
"Fade to black"subscribe to:
sea-navision-community-subscribe@yahoogroups.com
detail in:
http://sea-navision-community.blogspot.com0 -
My printer setup is ok,if I don't view and do "print" button ,I can print it0
-
Have you checked this code :
"ManuPrintReport.PrintProductionOrder(Rec,3);" whether it's available or not in your navision?
Pls look in the object designer --> codeunit ---> codeunit #99000817 , if maybe there is something wrong there.
rgds,subscribe to:
sea-navision-community-subscribe@yahoogroups.com
detail in:
http://sea-navision-community.blogspot.com0 -
Dear wilson,
I forget because I am in a hurry, here as follow what I did when I find trouble to print PO from PO header after I click print --> designer --> report designer--> F9 :
DataItem Name
Purchase Header <Purchase Header>
Integer CopyLoopInteger PageLoop
Integer DimensionLoop1
Purchase Line <Purchase Line>
Integer RoundLoop
Integer DimensionLoop2
Integer VATCounter
Integer Total
Integer Total2
Integer Total3
CopyLoop - OnPreDataItem()
NoOfLoops := ABS(NoOfCopies) + 1;
CopyText := '';
SETRANGE(Number,1,NoOfLoops);
CopyLoop - OnAfterGetRecord()
CLEAR(PurchLine);
CLEAR(PurchPost);
PurchLine.DELETEALL;
VATAmountLine.DELETEALL;
PurchPost.GetPurchLines("Purchase Header",PurchLine,0);
PurchLine.CalcVATAmountLines(0,"Purchase Header",PurchLine,VATAmountLine);
PurchLine.UpdateVATOnLines(0,"Purchase Header",PurchLine,VATAmountLine);
VATAmount := VATAmountLine.GetTotalVATAmount;
VATBaseAmount := VATAmountLine.GetTotalVATBase;
VATDiscountAmount :=
VATAmountLine.GetTotalVATDiscount("Purchase Header"."Currency Code","Purchase Header"."Prices Including VAT");
TotalAmountInclVAT := VATAmountLine.GetTotalAmountInclVAT;
IF Number > 1 THEN
CopyText := Text003;
CurrReport.PAGENO := 1;
CopyLoop - OnPostDataItem()
//IF NOT CurrReport.PREVIEW THEN
// PurchCountPrinted.RUN("Purchase Header");
The sign // will make me able to print PO directly from PO header. Those above mentioned code is only a comparision for you. I don't know what you are trying to print.
rgds,
Johnson Alonso
"fight fire with fire"subscribe to:
sea-navision-community-subscribe@yahoogroups.com
detail in:
http://sea-navision-community.blogspot.com0 -
of course, the problem is CurrReport.PREVIEW. If you will search Mibuso for that, you will see why... ;-)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
- 611 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
