Creating a Form from within a Module

T

Terry

Is there away to create a form from within a module
through VBA or Visual Basic?

I want to create the form programmatically, add fields and
event code from within an Access module.

Thanks.

Terry
 
J

John Vinson

Is there away to create a form from within a module
through VBA or Visual Basic?

Yes; there are two chapters on this technique in the _Access xx
Developer's Handbook_ Vol. I, far more than I can reproduce here.
Check the online help in the VBA Editor for the CreateForm and
CreateControl methods.
 
A

Adrian Jansen

Its also worth looking at the SaveAsText and LoadFromText functions, which
allow you to save and load a form as text. Of course, when you have a form
as a text file, you can modify it how you like...

--
Regards,

Adrian Jansen
J & K MicroSystems
Microcomputer solutions for industrial control
 

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