Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic Form

Status
Not open for further replies.

guitardave78

Programmer
Sep 5, 2001
1,294
GB
Is it possible to dynamically create a form with a text box on it?
Basically I have a string created from a record set that i want to popup in a text box in a new form.

}...the bane of my life!
 
Hi!

Is there some reason that this can't be done with a message box?

MsgBox YourString

will pop up the message box with your string displayed.

You could also create a form with a text box and just call it and pass the string to it.

DoCmd.OpenForm "YourForm", , , , , , YourString

Then in the open event of your form:

Me!YourTextBox.Value = Me.OpenArgs

hth

Jeff Bridgham
Purdue University
Graduate School
Data Analyst
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top