Ok, I think I have gotten the structure of my database down perfectly. I just need to work on some cosmetic changes...
The first has got me confused. When a person uses the Mouse Wheel, I want the form to SCROLL through the page (just like in design view or in a subform) Instead, it scrolls through the various records in the database. I tried this:
Private Sub Form_MouseWheel(ByVal Page As Boolean, ByVal Count As Long)
DoCmd.CancelEvent
End Sub
but now all it does is create a new entry when I scroll... All I want is to be able to scroll through the page itself.
The second question is a bit more involved. I have a required field which has an OnExit event that prevents it being null or non-unique. However, if the user accidently focuses on this field and wants to quit, how do I let him press the "Quit" button (its a custom button I created) but still disallow him from focusing on anything else. I'm not sure if there is a way to do this is Access but I'm guessing it would involve some sort of If Event statement.
To rephrase what I'm trying to do for the second part:
I'm in a field, I press "Next Entry" instead of "Quit" by accident and now I am in the RequiredField. This field will not let me leave the field if it is null; which is what I want - however, I need some sort of escape which allows me to press the "Quit" button even though the RequiredField is null. I hope you can figure out what I'm trying to say - if not, post, and I will rephrase.
The first has got me confused. When a person uses the Mouse Wheel, I want the form to SCROLL through the page (just like in design view or in a subform) Instead, it scrolls through the various records in the database. I tried this:
Private Sub Form_MouseWheel(ByVal Page As Boolean, ByVal Count As Long)
DoCmd.CancelEvent
End Sub
but now all it does is create a new entry when I scroll... All I want is to be able to scroll through the page itself.
The second question is a bit more involved. I have a required field which has an OnExit event that prevents it being null or non-unique. However, if the user accidently focuses on this field and wants to quit, how do I let him press the "Quit" button (its a custom button I created) but still disallow him from focusing on anything else. I'm not sure if there is a way to do this is Access but I'm guessing it would involve some sort of If Event statement.
To rephrase what I'm trying to do for the second part:
I'm in a field, I press "Next Entry" instead of "Quit" by accident and now I am in the RequiredField. This field will not let me leave the field if it is null; which is what I want - however, I need some sort of escape which allows me to press the "Quit" button even though the RequiredField is null. I hope you can figure out what I'm trying to say - if not, post, and I will rephrase.