I have a function to open a form based on linked fields. I don't want a user to be able to open 2 versions let alone 16 of the same record or multiple versions for different records. I would like to build in the following functionality:
1. Check if form (MRSTAT) is open
If it is, Cancel opening the form and alert the user that they must first close the current instance.
If it is not, open the form as directed.
Could anyone help with the vb here?
1. Check if form (MRSTAT) is open
If it is, Cancel opening the form and alert the user that they must first close the current instance.
If it is not, open the form as directed.
Could anyone help with the vb here?