Solved

How do I access data in a field in a form and place it in the current form?

Posted on 2003-12-01
2
366 Views
Last Modified: 2012-05-04
Hi,
Cannot remember how to open a form from the current form, obtain data from a field in that form, and place it in a field in the current form.  A basic question but I really need an answer.

Thanks,
bobcrewsdson
0
Comment
Question by:bobcrewdson
[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 Comments
 
LVL 22

Expert Comment

by:cookre
ID: 9850845
Do you mean:

NewForm.FieldX.Text=OtherForm.FieldY.Text
NewForm.Refresh

?
0
 
LVL 8

Accepted Solution

by:
SNilsson earned 250 total points
ID: 9851863
( where frmOther is the form to open)

From Current form:
_________________________
Dim x as form

Set x = new frmOther

x.show

me.txtField.text = x.txtField.text

_________________________

txtField is supposed to be a textbox in each form.

Hope that helps your memory :)
 


0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

739 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