VBAhole22
Registered User.
- Local time
- Today, 13:31
- Joined
- Jan 18, 2002
- Messages
- 117
I am having some difficulty trying to figure out all of the events associated with a user skipping from a main form to a subform. My main and sub forms are in a one to many relationship, respectively. The main form has a user id that is autonumber. Now this number doesn't get assigned until a user actually submits the record, right? So if a user were to tab into, or click into, the subform then the record in the main form would get submitted and the the autonumber assigned? What if I wanted validation on the fields that the user filled in on the main form? What event would I use to check the status of the fields on the main form? How could I then pop up a message asking if the user knew that these fields were wrong and could they correct them?
I guess I am confused about all of the possible events going on. Also when a user is finished with the main and sub forms and they want to go on to another record on the main form what is a good event to attach code that will send up a message box telling them what autonumber they got assigned? I know it will come up in a field in my form but I want to be able to tell the user too. Any help would be greatly appreciated.
I guess I am confused about all of the possible events going on. Also when a user is finished with the main and sub forms and they want to go on to another record on the main form what is a good event to attach code that will send up a message box telling them what autonumber they got assigned? I know it will come up in a field in my form but I want to be able to tell the user too. Any help would be greatly appreciated.