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

Importing values to another form.

Status
Not open for further replies.

technohead

Technical User
Jan 12, 2002
64
0
0
US
Hi,

I have a form with customer details in textboxes such as name address, phone no etc.. what i want to do is to be able to import all these exact values into textboxes in another from.

I was thinking of assinging the values in the textboxes to a vriable and declaring them in modules.
But is there any other way of doing this.

Thanking you in advance
 
suppose 1st form is form1 and the 2nd one is form2

you have txtfrm1name for name in form1
and txtfrm2name for name in form2

before you write
form2.show

write this line

txtfrm2name.text = txtfrm1name
and then write
form2.show
 
the details that i want to import are actually in a frame on a tab... will this make a difference??
 
Hi technohead ,

It should'nt make any difference. Murali Bala
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top