Enter data in a textbox from another form

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

Guest

Office 2003 on Windows XP

User opens Form1, clicks a button, Form2 opens. User double-clicks Form2 to
make a choice. Event copies user choice into a date variable; and closes
Form2.

Before the close command, I need the date to be written into a Text box on
Form1. This box must be locked to control input.

Assuming my text box name is "RunDateBox", how do I populate the text box
using VBA?

I have tried something along the lines of:

Forms("Checks1").Field("RunDateBox").Text = gdRunDate

Also, can this be done using a label rather than a text box? If so, how?
But no go. Thanks much in advance for your assistance.
 
Back
Top