[solved]desabling field in card page

massimopasqualimassimopasquali Member Posts: 82
edited 2016-11-08 in Entrepreneur Solution
Hy guys,

I have to disable a filed in a card page Customer, the field "Name", so I have seen that in OnAfertGetCurrRecord I have to put
my sentence :

CurrPage.Name.

Which is the correct sentence C/AL to disable the field above?

thanks

Comments

  • KishormKishorm Member Posts: 921
    edited 2014-06-16
    It's done differently on pages, you need to do the following...

    1) create a Boolean global var e.g. "NameEnabled" and set the IncludeInDataset property to Yes
    2) in OnAfterGetCurrRecord set NameEnabled as appropriate
    3) on the Name field set the "Enabled" property to the new var NameEnabled
  • massimopasqualimassimopasquali Member Posts: 82
    thanks, trying now.
  • massimopasqualimassimopasquali Member Posts: 82
    Ok that's right, so other question : to check if a user have clicked on checkbox, which is the trigger that I must use?
  • tothszabolcstothszabolcs Member Posts: 21
    You should use Navision's Help before new forum topic.

    Here is control's triggers:
    http://msdn.microsoft.com/en-us/library/dd301073.aspx
Sign In or Register to comment.