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
362 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
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

Independent Software Vendors: 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

Suggested Solutions

Title # Comments Views Activity
groupNoAdj 7 115
Delphi: barcode reading on android platform 1 70
Query Syntax 17 50
Why use this lambda? 12 61
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

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