Pages and UPDATECONTROLS

poppinspoppins Member Posts: 647
edited 2012-07-03 in NAV Three Tier
Hi everyone,

I am trying to transform a form into a page using the TIF tool under nav 2009 R2....
I followed the steps in the link below:

http://www.mibuso.com/forum/viewtopic.php?f=32&t=29961

The following line in the C/AL code:
CurrPage.SubFrom.FORM.UPDATECONTROLS;

is generating the following error:
You have specified an unknown variable UPDATECONTROLS
Define the variable under 'Global C/AL symbols

As far as I know, UPDATECONTROLS is a function, not a variable....

What can I do???

Comments

  • TroelshTroelsh Member, Microsoft Employee Posts: 79
    Remove the line of code - it is usually not needed any longer.
    In some scenarios "refreshonactivate" does what needed in others you may have to add a currpage.update in AL code.
    The UPDATECONTROLS function is obsolete in NAV2009

    Troels Bent Hansen
    Senior Program Manager
    Microsoft Dynamics NAV


    ****** This posting is provided "AS IS" with no warranties, and confers no rights ******
  • poppinspoppins Member Posts: 647
    Thank you for your help :)
  • poppinspoppins Member Posts: 647
    Now I have the same problem with the VISIBLE and the EDITABLE functions ](*,)
  • davmac1davmac1 Member Posts: 1,283
    Classic forms allow you to change properties when the form is already active. RTC pages, the controls can be changed before the page is activated, but not afterwards.
    If you look at the technical help for properties, it will give you the alternatives.

    Maybe some future release will allow more control with pages like we have been used to with Classic forms.
Sign In or Register to comment.