passing variables between pages

jr_macarilay
Member Posts: 29
Hi,
I have two custom pages, one is a list and the other is its card page. Im trying to pass a variable from the list page going to the card page whenever the New action is triggered. Ive tried using a function to pass the variables (which work for me on my other pages) but it wont work on this one. Im thinking maybe because im opening the card page through the New action instead of through code. :-k
Any help would be greatly appreciated. Thanks.
I have two custom pages, one is a list and the other is its card page. Im trying to pass a variable from the list page going to the card page whenever the New action is triggered. Ive tried using a function to pass the variables (which work for me on my other pages) but it wont work on this one. Im thinking maybe because im opening the card page through the New action instead of through code. :-k
Any help would be greatly appreciated. Thanks.
0
Comments
-
Hi jr macarilay,
Once please check the Function Call, that refers to the a variableName(of that Card Page) and
Cardpage how you are calling ?0 -
Hi,
i think that's one of my problems, im not really sure where to put my 'getInfo' function (the one that passes the values). I tried putting it under OnInit() and i also tried putting it under OnOpenPage() but i still cant pass the values.0 -
jr macarilay wrote:Hi,
I have two custom pages, one is a list and the other is its card page. Im trying to pass a variable from the list page going to the card page whenever the New action is triggered.
That means u r passing the variables , if the user is trying to create the New record.
If yes, please call NEW with code.
And disable the Existing --> viewtopic.php?f=32&t=51918
and send the variables to your card-page and insert records through code.0 -
Hi,
Thanks for the link. I already set the RunFormMode to 'Create' but the card page now displays the first record of the table. Is there anything else i need to do?
Thanks0
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