[Gelöst] [RTC] Report: Page Header

17. Juli 2014 12:02

Hallo zusammen,

ich verzweifle nun an folgendem Problem:

Der Page Header wird nur teilweise angedruckt. Zur Info, der Report wurde mit dem Tool von Yaveon konvertiert, das funktionierte bisher immer gut, nur dieses mal nicht und den Fehler kann ich nicht erkennen.

Anbei im Screenshot zu sehen, werden die rot markierten Felder nicht angedruckt und befinden sich alle samt im 2. Feld des Bodys.
Alle Felder die über GetData aus dem 1 & 3 Feld des Bodys gezogen werden, erscheinen auch auf dem Ausdruck.
Im DataSet sind die Felder auch entsprechend gefüllt und zwar in jedem Datensatz.

Beim Versuch die Felder aus dem 2. in das 1. Feld des Bodys einzusetzen wurde dann auch dieser nicht mehr angedruckt.
Hat jemand eine Idee woran das liegen kann?


PageHeaderProblem.PNG


Body Felder..
..1:
Code:
="Fields!CompanyAddr_1_.Value" + chr(177) + First(Fields!CompanyAddr_1_.Value) + chr(177) +
"Fields!CompanyAddr_2_.Value" + chr(177) + First(Fields!CompanyAddr_2_.Value) + chr(177) +
"Fields!CompanyAddr_3_.Value" + chr(177) + First(Fields!CompanyAddr_3_.Value) + chr(177) +
"Fields!Service_Header___Pickup_Time_.Value" + chr(177) + First(Fields!Service_Header___Pickup_Time_.Value) + chr(177) +
"Fields!Service_Header___Pickup_Date_Caption.Value" + chr(177) + First(Fields!Service_Header___Pickup_Date_Caption.Value) + chr(177) +
"Fields!Service_Header___Pickup_Date_.Value" + chr(177) + First(Fields!Service_Header___Pickup_Date_.Value) + chr(177) +
"Fields!Service_Header___No__.Value" + chr(177) + First(Fields!Service_Header___No__.Value) + chr(177) +
"Fields!CompanyAddr_4_.Value" + chr(177) + First(Fields!CompanyAddr_4_.Value) + chr(177) +
"Fields!CompAddr.Value" + chr(177) + First(Fields!CompAddr.Value) + chr(177) +
"Fields!Service_Header___Order_Date_.Value" + chr(177) + First(Fields!Service_Header___Order_Date_.Value) + chr(177) +
"Fields!FORMAT_CurrReport_PAGENO_Caption.Value" + chr(177) + First(Fields!FORMAT_CurrReport_PAGENO_Caption.Value) + chr(177) +
"Fields!Cust__No__Caption.Value" + chr(177) + First(Fields!Cust__No__Caption.Value) + chr(177) +
"Fields!Cust__No__.Value" + chr(177) + First(Fields!Cust__No__.Value) + chr(177) +
"Fields!CoTelephoneText.Value" + chr(177) + First(Fields!CoTelephoneText.Value) + chr(177) +
"Fields!CoFaxText.Value" + chr(177) + First(Fields!CoFaxText.Value) + chr(177) +
"Fields!CoTelephone.Value" + chr(177) + First(Fields!CoTelephone.Value) + chr(177) +
"Fields!CoFax.Value" + chr(177) + First(Fields!CoFax.Value) + chr(177) +
"Fields!CoEmail.Value" + chr(177) + First(Fields!CoEmail.Value) + chr(177) +
"Fields!CoEmailText.Value" + chr(177) + First(Fields!CoEmailText.Value) + chr(177) +
"Fields!Service_Header___Time_of_Order_.Value" + chr(177) + First(Fields!Service_Header___Time_of_Order_.Value) + chr(177) +
"Fields!PhoneText.Value" + chr(177) + First(Fields!PhoneText.Value) + chr(177) +
"Fields!Service_Header___Order_Limit_Caption.Value" + chr(177) + First(Fields!Service_Header___Order_Limit_Caption.Value) + chr(177) +
"Code.BlankZero(Fields!Service_Header___Order_Limit_.Value)" + chr(177) + First(Code.BlankZero(Fields!Service_Header___Order_Limit_.Value)) + chr(177) +
"Fields!Service_Header___Order_Limit_Format.Value" + chr(177) + First(Fields!Service_Header___Order_Limit_Format.Value) + chr(177) +
"Fields!Service_Header___Engine_Code_.Value" + chr(177) + First(Fields!Service_Header___Engine_Code_.Value) + chr(177) +
"Fields!Service_Header___Engine_Code_Caption.Value" + chr(177) + First(Fields!Service_Header___Engine_Code_Caption.Value) + chr(177) +
"Fields!Service_Header___License_No__.Value" + chr(177) + First(Fields!Service_Header___License_No__.Value) + chr(177) +
"Fields!Service_Header___License_No__Caption.Value" + chr(177) + First(Fields!Service_Header___License_No__Caption.Value) + chr(177) +
"Fields!Make_Name.Value" + chr(177) + First(Fields!Make_Name.Value) + chr(177) +
"Fields!MarkeCaption.Value" + chr(177) + First(Fields!MarkeCaption.Value) + chr(177) +
"Fields!Service_Header__Model.Value" + chr(177) + First(Fields!Service_Header__Model.Value)


..2:
Code:
="Fields!ModellbezeichnungCaption.Value" + chr(177) + First(Fields!ModellbezeichnungCaption.Value) + chr(177) +
"Fields!Service_Header__VIN.Value" + chr(177) + First(Fields!Service_Header__VIN.Value) + chr(177) +
"Fields!Service_Header__VINCaption.Value" + chr(177) + First(Fields!Service_Header__VINCaption.Value) + chr(177) +
"Fields!Service_Header___Labor_Type_.Value" + chr(177) + First(Fields!Service_Header___Labor_Type_.Value) + chr(177) +
"Fields!Service_Header___Labor_Type_Caption.Value" + chr(177) + First(Fields!Service_Header___Labor_Type_Caption.Value) + chr(177) +
"Fields!Service_Header___Initial_Registration_.Value" + chr(177) + First(Fields!Service_Header___Initial_Registration_.Value) + chr(177) +
"Fields!Service_Header___Initial_Registration_Caption.Value" + chr(177) + First(Fields!Service_Header___Initial_Registration_Caption.Value) + chr(177) +
"Fields!Service_Header__Mileage.Value" + chr(177) + First(Fields!Service_Header__Mileage.Value) + chr(177) +
"Fields!Service_Header__MileageFormat.Value" + chr(177) + First(Fields!Service_Header__MileageFormat.Value) + chr(177) +
"Fields!KM_StandCaption.Value" + chr(177) + First(Fields!KM_StandCaption.Value) + chr(177) +
"Fields!Service_Header___Engine_No__.Value" + chr(177) + First(Fields!Service_Header___Engine_No__.Value) + chr(177) +
"Fields!Service_Header___Engine_No__Caption.Value" + chr(177) + First(Fields!Service_Header___Engine_No__Caption.Value) + chr(177) +
"Fields!Service_Advisor_.Value" + chr(177) + First(Fields!Service_Advisor_.Value) + chr(177) +
"Fields!Service_BeraterCaption.Value" + chr(177) + First(Fields!Service_BeraterCaption.Value) + chr(177) +
"Fields!SalesPurch_Name.Value" + chr(177) + First(Fields!SalesPurch_Name.Value) + chr(177) +
"Fields!Verkaufs_BeraterCaption.Value" + chr(177) + First(Fields!Verkaufs_BeraterCaption.Value) + chr(177) +
"Fields!Service_Header___Model_Code_.Value" + chr(177) + First(Fields!Service_Header___Model_Code_.Value) + chr(177) +
"Fields!Service_Header___Model_Code_Caption.Value" + chr(177) + First(Fields!Service_Header___Model_Code_Caption.Value) + chr(177) +
"Fields!CurrencyText.Value" + chr(177) + First(Fields!CurrencyText.Value) + chr(177) +
"Fields!CustAddr_1_.Value" + chr(177) + First(Fields!CustAddr_1_.Value) + chr(177) +
"Fields!CustAddr_2_.Value" + chr(177) + First(Fields!CustAddr_2_.Value) + chr(177) +
"Fields!CustAddr_3_.Value" + chr(177) + First(Fields!CustAddr_3_.Value) + chr(177) +
"Fields!CustAddr_4_.Value" + chr(177) + First(Fields!CustAddr_4_.Value) + chr(177) +
"Fields!CustAddr_5_.Value" + chr(177) + First(Fields!CustAddr_5_.Value) + chr(177) +
"Fields!CustAddr_6_.Value" + chr(177) + First(Fields!CustAddr_6_.Value) + chr(177) +
"Fields!CustAddr_7_.Value" + chr(177) + First(Fields!CustAddr_7_.Value) + chr(177) +
"Fields!CustAddr_8_.Value" + chr(177) + First(Fields!CustAddr_8_.Value) + chr(177) +
"Fields!SalesPurch_Name_Control151Caption.Value" + chr(177) + First(Fields!SalesPurch_Name_Control151Caption.Value) + chr(177) +
"Fields!SalesPurchNameG.Value" + chr(177) + First(Fields!SalesPurchNameG.Value) + chr(177) +
"Fields!Service_Header___No__Caption.Value" + chr(177) + First(Fields!Service_Header___No__Caption.Value)


..3:
Code:
="Fields!Service_Header___Order_Date_Caption.Value" + chr(177) + First(Fields!Service_Header___Order_Date_Caption.Value) + chr(177) +
"Fields!CopyText.Value" + chr(177) + First(Fields!CopyText.Value) + chr(177) +
"Fields!Werkstatt_AuftragsbestätigungCaption.Value" + chr(177) + First(Fields!Werkstatt_AuftragsbestätigungCaption.Value) + chr(177) +
"Fields!Collective_TextShowOutput__Service_Header__FIELDCAPTION__VAT_Registration_No______Service_Header___VAT_Registration_No_________.Value" + chr(177) + First(Fields!Collective_TextShowOutput__Service_Header__FIELDCAPTION__VAT_Registration_No______Service_Header___VAT_Registration_No_________.Value) + chr(177) +
"Fields!Service_Header___VAT_Registration_No__.Value" + chr(177) + First(Fields!Service_Header___VAT_Registration_No__.Value) + chr(177) +
"Fields!Collective_TextShowOutput_CompanyInfo_FIELDCAPTION__VAT_Registration_No_____PrintAddrBlock_.Value" + chr(177) + First(Fields!Collective_TextShowOutput_CompanyInfo_FIELDCAPTION__VAT_Registration_No_____PrintAddrBlock_.Value) + chr(177) +
"Fields!Collective_TextShowOutput_CompanyInfo__VAT_Registration_No___PrintAddrBlock_.Value" + chr(177) + First(Fields!Collective_TextShowOutput_CompanyInfo__VAT_Registration_No___PrintAddrBlock_.Value) + chr(177) +
"Fields!Collective_TextShowOutput_C_INC041__PrintAddrBlock_.Value" + chr(177) + First(Fields!Collective_TextShowOutput_C_INC041__PrintAddrBlock_.Value) + chr(177) +
"Fields!Collective_TextShowOutput_CompanyInfo__Registration_No___PrintAddrBlock_.Value" + chr(177) + First(Fields!Collective_TextShowOutput_CompanyInfo__Registration_No___PrintAddrBlock_.Value) + chr(177) +
"Fields!Zahlungen_bitte_an_Caption.Value" + chr(177) + First(Fields!Zahlungen_bitte_an_Caption.Value) + chr(177) +
"Fields!BankText.Value" + chr(177) + First(Fields!BankText.Value)
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
Zuletzt geändert von TMe am 17. Juli 2014 14:11, insgesamt 1-mal geändert.

Re: [RTC] Report: Page Header

17. Juli 2014 12:47

Mindestens eines deiner Felder im Bodyfeld 2 ist nummerisch (in NAV integer oder decimal oder boolean) . Dieses Feld in Bodyfeld 2 musst du mittels CStr in Text konvertieren, und in der Andruck-Textbox bei Bedarf wieder in eine Zahl (CInt, CDec, CBool) umwandeln. Siehe auch hier: viewtopic.php?p=92264#p92264

Re: [RTC] Report: Page Header

17. Juli 2014 14:10

Vielen Dank Natalie!
Genau daran lags, Mileage (Decimal) ist der Übeltäter gewesen. :)