I have an issue I need to resolve , In the App I have an admin section where the Admin users go and perform maintenance for records captured on a form in this example I will use Accident group where there can add ,edit or disable these Accident groups .
They can be Animals ,Fatigue ,Hijacking etc .
How can I achieve this ?, I have also added the attachments to show my screens .
Select the disabled and is now greyed out and can be edited
Not greyed on the form and can be used
Solved! Go to Solution.
Hi @rmaziwis ,
Sorry for the lateness of this reply.
Firstly, I assume this code is on the OnChange property of the drop-down - also the issue here (now that I have my mind around what you are trying to do) is not the checkbox - it is the field name in the table that the checkbox sets to true. I will call it NotShow in the below - just substitute your field name for this.
I also noticed you have said the field name in the drop-down is Accident Name - I may need a bit more clarification on this, however try this code.
If( !isBlank( LookUp( '[rp].[Accident group]', Accidentgroup = DataCardValue46.Selected.'Accident Name' && NotShow.Value = true, AccidentGroup ) ), Notify("You cannot select this item"; NotificationType.Error); Reset(DataCardValue46) )
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Join us for the next call on August 17, 2022 at 8am PDT.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.