HowTo Set an Dateformular?

modmod Member Posts: 12
Hallo,

I just try to set an Dateformular Field.

litem.RESET;
EVALUATE(lDateformular,'+2J');
litem.MODIFYALL("Expiration Calculation",lDateformular);

Nothing happen! Where is the Problem?

<-- MOD -->

Comments

  • Sandeep_PrajapatiSandeep_Prajapati Member Posts: 151
    mod wrote:
    EVALUATE(lDateformular,'+2J');

    The only unit - options that are available are : "D , WD , W , M , Q , Y"
    Sandeep Prajapati
    Technical Consultant, MS Dynamics NAV
  • krikikriki Member, Moderator Posts: 9,110
    You should use
    EVALUATE(lDateformular,'<+2Y>');
    

    The code
    EVALUATE(lDateformular,'+2J');
    
    works only if you are working in German (or also Dutch) but not if you are working in English.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.