ACC2000: How to Programmatically Add Controls to a Tab Control (209880)
The information in this article applies to:
This article was previously published under Q209880 Moderate: Requires basic macro, coding, and interoperability skills.
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
SUMMARY
In Microsoft Access, you can use a tab control to group sets of controls
together on different pages. When you select a tab, you see only the
controls embedded on that page. Microsoft Access also provides the
CreateControl function, which enables you to programmatically create
controls on a Microsoft Access form. This article shows you how to
use the CreateControl function to programmatically create and embed a text box control on a specific page of a tab control.
REFERENCESFor more information about the CreateContol method, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type CreateControl, CreateReportControl method in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
For more information about the tab control, click Microsoft Access Help on the Help menu, type what is a tab control in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdta kbhowto kbofficeprog kbProgramming KB209880 |
---|
|