Solved

text box info to different form textbox

Posted on 1998-09-14
4
142 Views
Last Modified: 2010-04-30
How do I copy information from a textbox on one form to a textbox on another form from the Add Cmd Button? (Once information from three seperate textboxes are filled and the Add Cmd Button is clicked the information is to be copied to textboxes on another form. )
0
Comment
Question by:okuda
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 2

Accepted Solution

by:
wj7ster earned 50 total points
ID: 1434917
If you want to copy the text from a textbox on Form1 to a textbox on Form2 use:

Form2.Textbox.Text = Form1.Textbox.Text

0
 

Author Comment

by:okuda
ID: 1434918
The answer was good it tells me what code to use to place it on the other form but when I go to the form where it is to be placed the textbox is empty.... why?
0
 
LVL 2

Expert Comment

by:wj7ster
ID: 1434919
Can you list your code here, because I don't understand your question.

Thanks

Willem Sevenster
0
 

Author Comment

by:okuda
ID: 1434920
Sorry It was my error.. I have fixed the problem.. The code works wonderfully...Thanks....Tim
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question