Announcement

Collapse
No announcement yet.

function: datetime\addDays, index: 2, should be: numeric [] []

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • function: datetime\addDays, index: 2, should be: numeric [] []

    Hey guys.

    I have a issue with the datetime\addDays formula.

    requestDateTime=datetime\addDays(datetime\today(), selectActivity.performEveryDays);

    I get an error of function: datetime\addDays, index: 2, should be: numeric [] [].

    My issue is that I need the ability of adding different days depending on the record field but it won't accept the above or a variable.

    Does anyone have another solution?

  • #2
    Hi

    Seems that the field selectActivity.performEveryDays is a string, addDays function requires a numeric value. Just make sure that peformEeveryDays field is of type integer and everything should work fine.
    Rabii
    Web Dev

    Comment

    Working...
    X