Cordial greeting colleagues, It turns out that I have a form with 2 checklistbox that are filled by means of a query to a database that I have, a checklistbox is for activities to be done and the other for workers (engineers). What I am trying to do is that when selecting an activity, the others are deactivated, until you select one or more workers for that activity and use the assign button to save in a variable, that activity will be performed by that worker or more, after that activity already has a worker or more assigned, re-enable the rest of activities to repeat the process with each one, assign a worker or several and deactivate those that already have an assigned worker. The variable where the activities and their assigned workers are kept, from my perspective should be a two-dimensional arrangement.
I have tried to do this in different ways but I do not get the desired result, how could I do it?