bskowtexas
Registered User.
- Local time
- Today, 12:44
- Joined
- Sep 10, 2002
- Messages
- 11
Hey guys, this is a tough one because i'm not super proficient at VBA.
I have a parent form with check out information and a subform where the user can scan in items in a one-to-many relationship. Usually, my users forget the parent form and just start scanning stuff in. That's ok though, because i have it set up to where when someone scans something into the subform the parent information automatically fills.
Problem is...although the parent form fills and matches with my child data, it won't allow record additions because there is "no related record." I realize that this is because the parent form hasn't updated following the changes, but every thing i try to do to get the parent to update fails. If i try to requery it, it says that the parent form is not open. Further, if i try to shift the focus to the parent form, it says the form isn't open. Any ideas why?
Keep in mind, I don't know visual basic very well, so if you throw code my way, dumb it down for me.
thanks
-bskow
I have a parent form with check out information and a subform where the user can scan in items in a one-to-many relationship. Usually, my users forget the parent form and just start scanning stuff in. That's ok though, because i have it set up to where when someone scans something into the subform the parent information automatically fills.
Problem is...although the parent form fills and matches with my child data, it won't allow record additions because there is "no related record." I realize that this is because the parent form hasn't updated following the changes, but every thing i try to do to get the parent to update fails. If i try to requery it, it says that the parent form is not open. Further, if i try to shift the focus to the parent form, it says the form isn't open. Any ideas why?
Keep in mind, I don't know visual basic very well, so if you throw code my way, dumb it down for me.
thanks
-bskow