Checkbox on pages

wilk_u
Member Posts: 94
Hello, I'm looking for solution according to this situation:
transforming solution form forms to pages, on form one of the fields is bool apply, it works correct when I check or uncheck it, but on the page when clicking it, it doesn't show any changes, like checked/unchecked. then I want to filter checked records and do some things with them like I do it on form. Apply field is editable, like whole page, insert and delete are not allowed in properties, but modify is.
I'll appreciate any help. It's quite hard to deal with things, for beginners, without debugger
transforming solution form forms to pages, on form one of the fields is bool apply, it works correct when I check or uncheck it, but on the page when clicking it, it doesn't show any changes, like checked/unchecked. then I want to filter checked records and do some things with them like I do it on form. Apply field is editable, like whole page, insert and delete are not allowed in properties, but modify is.
I'll appreciate any help. It's quite hard to deal with things, for beginners, without debugger

0
Comments
-
What kind of page is that?
is that page open in Edit mode?0 -
It's a CardPart page, i also have the same problem with another page which is supposed to be parent page. Edit mode? What's this? If I understand You correctly the same thing as Actions-> Edit? It makes page editable as i wanted. But it's not the solution, I can't force user to click edit every time
Is there a way to run page in edit mode by default?
0 -
wilk_u wrote:It's a CardPart page, i also have the same problem with another page which is supposed to be parent page. Edit mode? What's this? If I understand You correctly the same thing as Actions-> Edit? It makes page editable as i wanted. But it's not the solution, I can't force user to click edit every time
Is there a way to run page in edit mode by default?
yes there's more than one way to run the page in edit mode. from where do you open this page, I mean directly from an action, via code etc...?~Rik~
It works as expected... More or Less...0 -
I run it on push action or run object, simply by button click0
-
what about the "RunFormMode" property?-Mihail- [MCTS]0
-
mihail_kolev wrote:what about the "RunFormMode" property?~Rik~
It works as expected... More or Less...0 -
It's a page, but thanks for Your time
...or I can't see this property, if You both say it's there0 -
wilk_u wrote:It's a page, but thanks for Your time~Rik~
It works as expected... More or Less...0 -
Ha..
You're great guys, thank You0 -
wilk_u wrote:Ha..
You're great guys, thank You
You're welcome!~Rik~
It works as expected... More or Less...0 -
I have another issue connected to that.
I convert solution form forms to pages, storing sums in single instance codeunit.
On forms, I calculate sums on form A pass the values to codeunit through setters. Then get values from codeunit through getters to display on form b, it works as it should.
I want to do exactly the same thing on pages. I pass values form page A to codeunit, debugged setters via messages, they dispalyed the values.
But when i call getters on page B, the display 0.
I have the same problem with clicking mentioned checkboxes, they don't calculate sums, just getting the checked value like added to zero. It seems codeunit doesn't store the values, although it's single instance. As i mentioned is a straight port from forms, where everything works fine.
Do single instance works different on pages?0 -
wilk_u wrote:Do single instance works different on pages?~Rik~
It works as expected... More or Less...0 -
It's weird, on forms it works as I wanted.
Have no idea what can cause the problem, I didn't change the code, aside from changing run form tho run page, my only idea is what I wrote above0 -
To transform the form into page do you use Transformation Tool?~Rik~
It works as expected... More or Less...0 -
Just made new pages, with same variables and functions, crated new codeunit running pages not forms with the same methods as in form codeunit0
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