I have a form that enables and disables controls based on whether there are any records in the table or not. For example, there is an Edit, and a Delete button that are only enabled if there are records and an Add button that is enabled at all times.
Everything works as it's supposed to except when adding records for the first time. The user is able to navigate to the form, click Add, and save the first record. However, at that point, the Edit and Delete buttons should then become enabled as there are records that could be edited or deleted. There is code in place to check for records in the table and it performs as it should outside of this one scenario.
Is there a command that is used for this specific type of thing? Thanks in advance!
Everything works as it's supposed to except when adding records for the first time. The user is able to navigate to the form, click Add, and save the first record. However, at that point, the Edit and Delete buttons should then become enabled as there are records that could be edited or deleted. There is code in place to check for records in the table and it performs as it should outside of this one scenario.
Is there a command that is used for this specific type of thing? Thanks in advance!