the EDITABLE() method is obsolete

It4Ch1It4Ch1 Member Posts: 36
edited 2010-01-20 in NAV Three Tier
the EDITABLE() method is obsolete

I encountered this error while opening a card page with listPart and it forces to close the card page.
how to go about this?

Answers

  • snehalppatelsnehalppatel Member Posts: 34
    Create a boolean variable. Set its value True or False, based on requirement. Assign this variable in Editable property of the field, just like we set SourceExpression. And this should work.
    Snehal Kumar Patel
    MCTS - Microsoft Dynamics NAV
  • It4Ch1It4Ch1 Member Posts: 36
    Create a boolean variable. Set its value True or False, based on requirement. Assign this variable in Editable property of the field, just like we set SourceExpression. And this should work.

    In all field then?

    edit:
    got error: The identifier 'CaseEditable' could not be found.

    CaseEditable = the boolean variable
    applied in Field
  • BeliasBelias Member Posts: 2,998
    go to globals, highlight your variable, view his properties and set "includeindataset" property to yes
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • It4Ch1It4Ch1 Member Posts: 36

    SetFormProperty()
    TestCase.RESET;
    IF TestCase.GET("Test Case") THEN BEGIN
      CurrPage."Input Actual Text".EDITABLE(("Test Result Req."=1)
       AND (TestCase."Attribute Type"=TestCase."Attribute Type"::Text));
      CurrPage."Input Actual Numeric".EDITABLE(("Test Result Req."=1)
       AND (TestCase."Attribute Type"=TestCase."Attribute Type"::Numeric));
    END;
    

    Thought that the above was the culprit. so I just comment out the above function and the page worked.
    Am I correct in doing so?
  • BeliasBelias Member Posts: 2,998
    for sure, you don't need these instructions...you just need the boolean value and to evaluate it in OnOpenPage
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
Sign In or Register to comment.