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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copy data between forms

Status
Not open for further replies.

dondilbert

Technical User
Jan 6, 2009
4
GB
I've got 2 forms one with contact details in it and one with company details in it. On the companies form I wish to have a button that creates a new contact from this company and thus opens a new contact record with the company id copied over from the companies form. The tables behind the forms are linked by company id number. Can anyone please help?
 
Hi there,
It think you could use OpenArgs to pass a value from one form to another, or maybe you could use a global variable to this...

Pampers [afro]
Keeping it simple can be complicated
 
Thanks for that pampers I got it to work finally using the OpenArgs
 
Sounds like you need to nornmalise your tables...
linking the contacts with the companies

Ian Mayor (UK)
Program Error
9 times out of 10 I know what I'm talking about. This must be my tenth reply.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top