Pages and UPDATECONTROLS

poppins
Member Posts: 647
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:
is generating the following error:
As far as I know, UPDATECONTROLS is a function, not a variable....
What can I do???
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???
0
Comments
-
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 ******0 -
Thank you for your help0
-
Now I have the same problem with the VISIBLE and the EDITABLE functions ](*,)0
-
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.David Machanick
http://mibuso.com/blogs/davidmachanick/0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions