web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

"A value or expression was expected."

(0) ShareShare
ReportReport
Posted on by

I'm trying to set in my report a expression depending of a boolean but i cant linked the expression to my global var aux.

proforma Boolean
aux Text

To turn around this problem I tried to create a column and with a/c code I set the column value depending of a boolean

teste.png

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    How is ReportTitle declared? Is it a global Text variable?

  • Suggested answer
    Suresh Kulla Profile Picture
    50,245 Super User 2025 Season 2 on at

    Try to change the name of the Column, the Variable and the Name of the Column is the same which is why I believe it is not able to recognize.

  • Suggested answer
    Andrey Baludin Profile Picture
    3,941 on at

    Change the column name to Report Title (from ReportTitle). NAV thinks that you are trying to assign text value to control name.

  • Community Member Profile Picture
    on at

    I changed and I got the same error.

  • Community Member Profile Picture
    on at

    As a global it says that is already declared...

    Name DataType Subtype Length

    GLSetup Record General Ledger Setup

    ShipmentMethod Record Shipment Method

    PaymentTerms Record Payment Terms

    PrepmtPaymentTerms Record Payment Terms

    SalesPurchPerson Record Salesperson/Purchaser

    CompanyInfo Record Company Information

    CompanyInfo1 Record Company Information

    CompanyInfo2 Record Company Information

    CompanyInfo3 Record Company Information

    SalesSetup Record Sales & Receivables Setup

    VATAmountLine Record VAT Amount Line

    PrepmtVATAmountLine Record VAT Amount Line

    PrepmtVATAmountLineDeduct Record VAT Amount Line

    SalesLine Record Sales Line

    DimSetEntry1 Record Dimension Set Entry

    DimSetEntry2 Record Dimension Set Entry

    TempPrepmtDimSetEntry Record Dimension Set Entry

    PrepmtInvBuf Record Prepayment Inv. Line Buffer

    RespCenter Record Responsibility Center

    Language Record Language

    CurrExchRate Record Currency Exchange Rate

    AsmHeader Record Assembly Header

    AsmLine Record Assembly Line

    SalesCountPrinted Codeunit Sales-Printed

    FormatAddr Codeunit Format Address

    SegManagement Codeunit SegManagement

    ArchiveManagement Codeunit ArchiveManagement

    SalesPostPrepmt Codeunit Sales-Post Prepayments

    DimMgt Codeunit DimensionManagement

    CustAddr Text 50

    ShipToAddr Text 50

    CompanyAddr Text 50

    SalesPersonText Text 30

    VATNoText Text 80

    TotalText Text 50

    TotalExclVATText Text 50

    TotalInclVATText Text 50

    MoreLines Boolean

    NoOfCopies Integer

    NoOfLoops Integer

    CopyText Text 30

    ShowShippingAddr Boolean

    i Integer

    DimText Text 120

    OldDimText Text 75

    ShowInternalInfo Boolean

    Continue Boolean

    ArchiveDocument Boolean

    LogInteraction Boolean

    VATAmount Decimal

    VATBaseAmount Decimal

    VATDiscountAmount Decimal

    TotalAmountInclVAT Decimal

    VALVATBaseLCY Decimal

    VALVATAmountLCY Decimal

    VALSpecLCYHeader Text 80

    VALExchRate Text 50

    PrepmtVATAmount Decimal

    PrepmtVATBaseAmount Decimal

    PrepmtTotalAmountInclVAT Decimal

    PrepmtLineAmount Decimal

    OutputNo Integer

    NNCTotalLCY Decimal

    NNCTotalExclVAT Decimal

    NNCVATAmt Decimal

    NNCTotalInclVAT Decimal

    NNCPmtDiscOnVAT Decimal

    NNCTotalInclVAT2 Decimal

    NNCVATAmt2 Decimal

    NNCTotalExclVAT2 Decimal

    NNCSalesLineLineAmt Decimal

    NNCSalesLineInvDiscAmt Decimal

    Print Boolean

    ArchiveDocumentEnable Boolean

    LogInteractionEnable Boolean

    DisplayAssemblyInformation Boolean

    AsmInfoExistsForLine Boolean

    //--soft-global--// Integer

    PaymentMethod Record Payment Method

    proforma Boolean

    ReportTitle Text 250

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
HoangNam Profile Picture

HoangNam 7

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans