Forum Stats

  • 3,837,505 Users
  • 2,262,265 Discussions
  • 7,900,308 Comments

Discussions

Greyed-out Column values for a View only modal dialog form

User_GP1QN
User_GP1QN Member Posts: 223 Blue Ribbon

I hvae a classic report with a link that opens a modal form for editing. Once it is historical information, I want the fields values in the modal form to be read-only.

Do I create a 2nd copy of the form, and use Display Only, or calculated fields (to bring in the values of foreign keys)?

Or do I add a hidden item on the modal page, that determines whether they should be editable or not, and then.... what do I do?

Thank you

mt in NY (yes, I've tried to change my profile name)

Best Answer

  • fac586
    fac586 Senior Technical Architect Member Posts: 21,095 Red Diamond
    edited May 25, 2022 3:44AM Answer ✓

    A page or region can be rendered non-editable by setting suitable logic for the attributes in the Read Only section of its property sheet. Buttons and other components associated with editing the data can then be suppressed using Page/Region is [NOT] Read Only conditions.

Answers

  • fac586
    fac586 Senior Technical Architect Member Posts: 21,095 Red Diamond
    edited May 25, 2022 3:44AM Answer ✓

    A page or region can be rendered non-editable by setting suitable logic for the attributes in the Read Only section of its property sheet. Buttons and other components associated with editing the data can then be suppressed using Page/Region is [NOT] Read Only conditions.

  • User_GP1QN
    User_GP1QN Member Posts: 223 Blue Ribbon

    @fac586 - perfect. Thank you. I'm glad I asked because the answer was a LOT EASIER than what I was going to do. I had googled for a response, but not easily found the solution.