Skip to Content
0

Changing bottom page margin: RDFDBadEnumFormulaResult

Feb 20, 2017 at 11:44 AM

627

avatar image

Hi all,

I have to change the bottom page margin via formular.

I tried this one:

if {@_WithLogo} = 0 then
  2.3
else
  0

I want to set the margin to 2.3 cm if {@_WithLogo} equals 0. If not there should be no margin.

I receive the following error:

Fehler in Formel Bottom Page Margin Formula: 
'// Diese Formel muss eine Zahl in Twip-Einheiten zurückgeben.
'
Fehlerhaftes Formelergebnis.
Details: RDFDBadEnumFormulaResult.

   bei CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.GetPage(PageRequestContext pPageRequestContext)

   bei CrystalDecisions.ReportSource.EromReportSourceBase.GetPage(PageRequestContext pageReqContext)

   --- Ende der internen Ausnahmestapelüberwachung ---

   bei CrystalDecisions.Windows.Forms.ReportDocumentBase.GetPage(Int32 pageN)

   bei CrystalDecisions.Windows.Forms.DocumentControl.ShowNthPage(Int32 PageNumber)

   bei CrystalDecisions.Windows.Forms.DocumentControl.ShowFirstPage()

   bei CrystalDecisions.Windows.Forms.PageView.ShowFirstPageEx()


What is wrong with my formula?

Best regards

Markus

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers