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
Comments
is that page open in Edit mode?
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
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...?
It works as expected... More or Less...
It works as expected... More or Less...
...or I can't see this property, if You both say it's there
It works as expected... More or Less...
You're great guys, thank You
You're welcome!
It works as expected... More or Less...
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?
It works as expected... More or Less...
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 above
It works as expected... More or Less...