forms

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a form with severals controlls to type in information.
I also have button on this form "new record", I blank form appears and I
type in information in the a new record
I want the information I filled out in some of the controlls in the previous
record to stay in the new record so I don't have to retype it.
Is that possible ?
 
hi madde
I have a form with severals controlls to type in information.
I also have button on this form "new record", I blank form appears and I
type in information in the a new record
I want the information I filled out in some of the controlls in the previous
record to stay in the new record so I don't have to retype it.
Is that possible ?

certainly. There are probably several ways to accomplish this, but this is
the method I use:

Let's say your first form is called "Form1" and the form that opens when the
user clicks on the "new record" button is called "Form2"

in Form2, to refer to controls on Form1 (provided that you are not closing
Form1 when Form2 opens), use the following syntax:

ctrl2 = Forms!Form1!ctrl1

you could also use Public variables and store the contents of the controls
in form1 and use them in form2
hope this helps
 
Back
Top