Options

How to make fields dynamically editable in NAV 2009 pages?

chandrurecchandrurec Member Posts: 560
edited 2011-03-07 in NAV Three Tier
Hi all,

I want to make the Customer No field dynamically editable true or false based on some given condition.

If anyone knows how to make a field dynamically editable or non-editable based on conditions in NAV 2009 Pages,Kindly let me know how to achieve it.

Thanks in advance.

Regards,
chandru.

Comments

  • Options
    AbhishekSAIAbhishekSAI Member Posts: 20
    Hi,

    If you want to make "Customer No" field dynamically editable then define one boolean variable and enter the same variable at Editable property of "Customer No." field.
    For e.g Var custedit(boolean)

    write code at OnOpenPageTrigger or where u want.
    IF condition then
    custedit := true
    else
    custedit := false;
    whenever custedit = true then your field "Customer No." become editable.

    Abhishek Saini
  • Options
    chandrurecchandrurec Member Posts: 560
    Hi AbishekSAI,

    I got it .

    Thank you.Can u share your gmail ID?

    Regards,
    chandru.
  • Options
    AbhishekSAIAbhishekSAI Member Posts: 20
    Hi,

    Goto my profile and send me your mail id then i'll share my gmail id with you, don't put your mail id in forum.

    Thanks

    Abhishek
  • Options
    Ravi_ThakkarRavi_Thakkar Member Posts: 392
    Hi Abhishekh and Chandru,

    How can you do the above procedure for forms?

    Plese, suggest.
    Ravi_Thakkar
    Ahmedabad, Gujarat, India
    E Mail : ravi.thakkar@hotmail.com
  • Options
    Ravi_ThakkarRavi_Thakkar Member Posts: 392
    Oh I got the solution.

    Thanks.
    Ravi_Thakkar
    Ahmedabad, Gujarat, India
    E Mail : ravi.thakkar@hotmail.com
Sign In or Register to comment.