forms

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
 
A

Andy Williams

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
 
W

web_djs

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top