Thursday, 29 October 2015

Enable and disable of records based on enum value in forms

  • First create a baseenum with elements active and inactive.Name that baseenum as status of condition.
  • Create a table with fields name and baseenum.



  • Create a form using above table in data source.
  • Now create a grid in design.
  • Add table fields in grid.
  • Override  selection changed method in form datasource methods. 

  • The output should be like this. 


No comments:

Post a Comment