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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
A short article about a problem I had getting the GPS LocationListener working.
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…

829 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