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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

loading a textbox to form

Status
Not open for further replies.

tzigone

MIS
Aug 11, 2003
42
TR
Hello,
I want to add textbox controls to form by writing code?
I add a textbox control on a form firstly and try to make it a collection ex.text1(0) it does not work. i say load text1 it does not work also
How should I code it?
 
i write the code in msdn site :)
Dim ctltext As Control
Set ctltext = CreateControl(Form_countreport, acTextBox, , "", "", _
1000, 100)
but it says type mismatch. can i have more help please? [bigears]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top