Form transformation and GETRECORD issue
poppins
Member Posts: 647
Hi everyone,
I am trying to transform a form to a page under Nav 2009...
The problem is in this piece of code(code in the OnPush Trigger of a MenuItem):
In fact, Now, it doesn't raise any error during the transformation and also compiles.
It becomes:
but does not work. It always returns the first record in the subpage no matter what.
How can I fix that???? Any idea???
I am trying to transform a form to a page under Nav 2009...
The problem is in this piece of code(code in the OnPush Trigger of a MenuItem):
CurrForm.MatrixForm.FORM.GETRECORD(customer);
In fact, Now, it doesn't raise any error during the transformation and also compiles.
It becomes:
CurrPage.MatrixForm.FORM.GETRECORD(customer);
but does not work. It always returns the first record in the subpage no matter what.
How can I fix that???? Any idea???
0
Comments
-
-
I already did that and transformed the form, MatrixForm is the name of the subform control , that's all

Now, I have a problem with a MenuItem of a button in the Main Form...It doesn't work anymore after the transformation of the redesigned form to a page...0 -
It is not a Matrix issue, guys, I already got rid of it...
Let's assume we have in the form:CurrForm.EvalForm.FORM.GETRECORD(customer);
After transformation, it becomes:CurrPage.EvalForm.FORM.GETRECORD(customer);
but does not work anymore(brings always the first record)....
What should I do????0 -
That doesn't work. Have a look here for a workaround.
http://mibuso.com/forum/viewtopic.php?f=32&t=35876Thomas Martin
NAV Developer0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions