Skip to main content
Question

Override a date formula field?

  • April 28, 2023
  • 0 replies
  • 65 views

Forum|alt.badge.img+4

Hello,

I've created a formula date field to auto-populate the date two weeks from today

today()+Days(14)

but I want to allow the users to override it. 

Normally they would have a call every two weeks but there could be occasions where they/the customer will be on vacation or the date just doesn't work for the customer.

Any ideas?



------------------------------
Julie Bowers
------------------------------
This topic has been closed for replies.

Forum|alt.badge.img+12

Hey Julie,

It sounds like you'd need to another Date field the User can optionally fill out to override the default calculation. For example,

If (
    // Was an override provided? If so, use it instead!
    not IsNull([Date Override]),
    [Date Override],

    // Default to your existing two week logic
    Today() + Days(14)
)

Hopefully that gives you some ideas!



------------------------------
Brian Seymour
------------------------------

Hey Julie, 

Try creating a regular Date field and another Formula Date field. Make the Date field your "manual" entry. Personally, I like to include "Manual" in the field name. In the 2nd Formula Date field, use the formula below. 

Nz([Call Date (Manual)],[Call Date +14])









------------------------------
Ashley Harris
------------------------------