MBackhaus
asked on
How to Create Object in VBA-Access?
How can I Add a new Object (Access.TextBox)to a Form?
CreateObject ("Access.TextBox") dosnt work.
The "VB-Way" Me.Controls.Add dosnt exist.
Please help.
CreateObject ("Access.TextBox") dosnt work.
The "VB-Way" Me.Controls.Add dosnt exist.
Please help.
You cannot do it this way. Try adding "Microsoft Forms 2.0" to your components.
Well before you access any object you must have a reference to that object(.ocx or a .dll). If you are trying to add a text box to an access form you can simply drag the Access textbox and modify its properties and methods. You also have the option of adding the Microsoft Forms 2.o text box or you can add other Active X Controls into your Access application. If this doesnt help let me know exactly what your doing and I will help you out.
JK
JK
ASKER
The Form I try do build, should be like a editor. The layout of the "new created" form i have to save into the db. But i dont know, how i can create m textbox and n lines while the form is active.
thx for help
thx for help
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.