Hello there,
I was asked to create user input interfaces for an Access database and now I'm stuck on how to handle subform events specifically for cells.
I have a subform named dgvRecipesList (marked with a red square) that is based on data gathered from a table named tbReceita:
The subform, at the form's load event has the property AllowEdits disabled.
What I'm trying to achieve is, the user must only be able to edit cell values from the column identified as QT.
The button below the subform, with the text Editar, will only be enabled when the user selects any cell from the column QT.
Then, when the user clicks the button with the text Editar, the subform's AllowEdits property will be enabled and the text of the button will change to Guardar (which means save).
After this, the user can change the desired cells' value and when done clicks the button that now has the text Guardar, saving the new values into the table, disabling the subform's AllowEdits property and, finally, reverting the button text to Guardar.
The problem I have at hand is that I have no way of handling events for the subforms cells, at least not directly from the designer, so how can I achieve this?