Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using pop up form to populate latest new record of a continuous form

Status
Not open for further replies.

ali32uk

Technical User
Mar 31, 2011
22
GB
Hi All

I have a fairly simple continous form which I am using for contacts, this is embedded subform (subformcontacts) into a master form (customer)

so I have a customer and the subform i populate with contacts for that customer.

In some cases a contact can be in multiple customers, I was looking for quick way to find the existing contact in an existing customer and transfer the information in a new record in the new customer in the continuous form.

I ve tried a pop up form, look up the existing contact through a combo box then used a command button to transfer the information with the below code onclick event, but what happens is that it overwrites the top existing contact instead of populating a new record field in the continuous forms

Forms!customer!subformcontacts!ContactName.Value = Me.ContactName.Value

would welcome any guidance as to how to do this!

Thank you in advance

Alastair
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top