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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

DateFormula in NAV2013

(0) ShareShare
ReportReport
Posted on by 61,204 Super User 2026 Season 1

Hi All,

Today I encountered different behaviour of DateFormula field in NAV2013 from NAV2009R2
I hope you guys can help me.

My scenario is:
We have a table with Primary Key Item No., Customer No. and DateFormula (developed long back, i am upgrading to NAV2013)

and its called from Item card with RunPageLink as Item No.=FIELD(No.)

I created new line in above table with DateFormula as blank.

When I try to open the page again, I am getting below error message

Microsoft Dynamics NAV
---------------------------

The supplied DateFormula does not contain the correct length.

Page Edit - xxx must close.
---------------------------
OK
---------------------------

Its working fine without error in NAV2009R2.

Is it a BUG or technical change in NAV2013?

*This post is locked for comments

I have the same question (0)
  • Natalie Karolak - the BC Docs Librarian Profile Picture
    1,955 on at

    Quite interesting.

    Does the error message appear when you populate the DateFormula field instead of leaving it empty?

    Does the table field have NotBlank or any other property?

  • Mohana Yadav Profile Picture
    61,204 Super User 2026 Season 1 on at

    Thank you for your reply Natalie.

    No, the error message is not populating when DateFormula field is filled.

    It has no properties set including Not Blank.

  • Natalie Karolak - the BC Docs Librarian Profile Picture
    1,955 on at

    As the online help does not tell that DateFormula fields must not be used in keys, I'd assume this is a NAV 2013 bug.

    Please report it to Microsoft.

  • Mohana Yadav Profile Picture
    61,204 Super User 2026 Season 1 on at

    Thanks :)

    Will Update Microsoft response.

  • Verified answer
    Mohana Yadav Profile Picture
    61,204 Super User 2026 Season 1 on at

    Reported in MS Connect.

    connect.microsoft.com/.../dateformula-in-nav2013

  • Mohana Yadav Profile Picture
    61,204 Super User 2026 Season 1 on at

    Microsoft product team has accepted it as a Bug and working on fix.

    Will keep you updated.

  • Mohana Yadav Profile Picture
    61,204 Super User 2026 Season 1 on at

    Here is the link for solution

    [url]mbs2.microsoft.com/.../KBDisplay.aspx[/url]

    KB Article ID : KB2807205

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans