?
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
Medium Priority
?
375 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 1000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
The SignAloud Glove is capable of translating American Sign Language signs into text and audio.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Six Sigma Control Plans
Suggested Courses

770 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