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!

Creating Forms and Form Fields using VBA

Status
Not open for further replies.

dpimental

Programmer
Jul 23, 2002
535
US
I need to be able to create forms and form fields using vba.
I need to be able to especially create form fields and place them on the form, where ever I choose.

Any ideas out there?

David Pimental I'm Your Huckleberry!
 
Hi

See CreateForm() and CreateControl in help

Regards
Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
UK
kenneth.reay@talk21.com
 
What about being able to look through a table and then create controls for each table field according to their field type? I'm Your Huckleberry!
 
Hi

To do that you iterate through the tabledefs collection, and using the previous two commands I gave you you crete your form, then your controls, using information from the tabledef.

I leave you to look it up in help

Regards
Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
UK
kenneth.reay@talk21.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top