forms

  • Thread starter Thread starter web_djs
  • Start date Start date
W

web_djs

Hey folks, have a problem maybe you can help me with. I've got a
button on a form that takes me to another form where I can enter data.
I want to bring a couple of the values on the first form to fields on
the second form. How can I make that happen?

Norm
 
If Form1 has a textbox called txtForm1Field, add the following code to the
OnOpen event of Form2:

Me.txtForm2Field = Forms!Form1.txtForm1Field

Any time you reference a control on a different form, you need to specify
that forms name.

Hope this helps

Andy
 
Andy,

I'll try to figure out how to do that, but it brings up
another question. The button I added to bring up the other form for
data entry brings me to the 1st record in that database every time.
Is there a way to tell it I want a blank form instead?

Norm
 
Back
Top