cos
Registered User.
- Local time
- Today, 10:54
- Joined
- Jul 13, 2012
- Messages
- 81
hi guys,
basicly, i got an Add Contact button, which runs the macro attached to this post, what opens a blank form; at which stage i wish for the form to enter a value in one of the fields from another form:
On Load event:
when the form is opened in form view, from the click on the Add button on a previous form, the form is opens completely blank with the specifiedID to this form (ContactID) to "New", with the ShopInfoID field blank..
what am i doing wrong? is there some other way of doing this or is access being an idiot yet again?
please see if you can help
basicly, i got an Add Contact button, which runs the macro attached to this post, what opens a blank form; at which stage i wish for the form to enter a value in one of the fields from another form:
On Load event:
Code:
Private Sub Form_Load()
Me.ShopInfoID = [Forms]![zx_Shop]![ShopInfoID_TBL_ShopInfo]
End Sub
when the form is opened in form view, from the click on the Add button on a previous form, the form is opens completely blank with the specifiedID to this form (ContactID) to "New", with the ShopInfoID field blank..
what am i doing wrong? is there some other way of doing this or is access being an idiot yet again?
please see if you can help
Attachments
Last edited: