Quantcast
Viewing all articles
Browse latest Browse all 64865

Forum Post: RE: Use of Property "Editing" in Pages using C/AL Code.

Dear Mohana,

 

I created a Boolean variable named EditarSucursalInv in the C/AL Global.

Image may be NSFW.
Clik here to view.
                       

 

Then I added to the property "Editing" of my control.

Image may be NSFW.
Clik here to view.

 

After initialize the variable in Event "OnInit()" of the Page.

Image may be NSFW.
Clik here to view.

 

And finally reassign the variable in Event "OnValidate()" of the field that triggers the validation of editing changes.

Image may be NSFW.
Clik here to view.

 

Only that's what I did, but it does not work, because although disabled the field, since the code that I put in the Event "OnInit ()", was executed, but it when running the Event "OnValidate ()" is not generates unchanged, that is, it is always disabled.

 

Could you to send me an example with Nav controls, how would you?

 

 

 

Best regards,

Marlon T. Ramirez


Viewing all articles
Browse latest Browse all 64865

Trending Articles