Hi,
I tried searching for help, but the search just brings up multiple instances of the same form. Here is what I would like to accomplish. I open form frmA and the user selects a record and want to modify the record. But before opeing the form frmB to modify the record, I want to direct the user to another form frmC first to enter the reason they are modifying the record. Below a sample code in frmA:
if modify then docmd.openform "frmC"
docmd.openform "frmB"
what happens is that it opens form frmC and immediately opens frmB. Form frmB is the one visible to the user, this means the user can then modify the record without entering the reason for modifying. When they exit, form frmC is visible and they can then exit without entering the reason.
There are different ways that I can accomplish this, but it makes sense to do it this way, the only catch, how do I open form frmC and only after the user exits then form frmB opens. I made both forms modal, as I am under the impression that a modal form will wait for user interaction before executing the next line of code... it seems my assumption has proved me wrong..
If there is a way, I would appreciate the help, else I will have to then open frmB and when the user exits, open form frmC and force the user to enter the reason.
Another problem I have is that every now and then the form opens in a different size, i.e. Popup forms. One moment it is fine and the next moment it opens smaller than the form size stipulated. Is there anyway I can ensure that this does not happen, because I have to save the forms again and then it works fine...
Thanks
Earl