dss28
Board Regular
- Joined
- Sep 3, 2020
- Messages
- 165
- Office Version
- 2007
- Platform
- Windows
In my program if the user does not proceed with the correct method of clicking the row in a listbox to select the row and then click on the delete row button, error message 381 is shown. if the user now clicks on "End" button the form totally closes and the login window is shown.
if the user selects the row to be deleted and then clicks the delete button the code runs smoothly without issues.
Is there any way to prevent the logout of the user if the user does not proceed correctly?
or I have to program in such a way so that the command button delete is not activated till the user selects any line in the listbox to delete. Any coding available for this?
if the user selects the row to be deleted and then clicks the delete button the code runs smoothly without issues.
Is there any way to prevent the logout of the user if the user does not proceed correctly?
or I have to program in such a way so that the command button delete is not activated till the user selects any line in the listbox to delete. Any coding available for this?