Lynn_AccessUser
Registered User.
- Local time
- Today, 12:44
- Joined
- Feb 4, 2003
- Messages
- 125
I have a main form with a continuous subform. On each record on the subform the user can check a box which if true will open up a new form.
The Subform is built on TableA and the popup form is built on TableB. The primary and foreign keys in both tables is called RegItemID.
The problem is as follows:
If ReqItemID exists in TableB then open the popup form to that record where popform.ReqItemID = forms!mainform!subform!ReqItemID
If ReqItemID does not exist in TableB then open to a new record and set popform.ReqItemID = forms!mainform!subform!ReqItemID.
Thanks!!!
The Subform is built on TableA and the popup form is built on TableB. The primary and foreign keys in both tables is called RegItemID.
The problem is as follows:
If ReqItemID exists in TableB then open the popup form to that record where popform.ReqItemID = forms!mainform!subform!ReqItemID
If ReqItemID does not exist in TableB then open to a new record and set popform.ReqItemID = forms!mainform!subform!ReqItemID.
Thanks!!!