Category Archives: Access

Get Field Types in External Access Database, VBA Automation,

In this article I will explain how you can get the types of all the fields in a table in an external access database using VBA. The first step would be to connect to an external database.I’ve explained this in the article below VBA, Open Access Database From

No Thumbnail

Append Data to Table, Access VBA

In this article I will explain how you can append data to an Access table using VBA. The article uses the ADODB.Recordset object. In order to use this object you may need to add reference to ADODB object library. For more information on this topic please see the

VBA, Create New Access Database From Excel

In this article I will explain how you can create a new (blank) access database from Excel. There are 2 methods for getting this done: Late Binding Early Binding In early binding we add a reference to the Access Object Library. The benefit of using early binding

VBA Access Create Table in External Database (Automation)

In this article I will explain how you can create a table in an external access database using VBA. Before creating a table you will need to connect to an external database. You could either create a blank access database using the topic covered in

No Thumbnail

VBA Get Table Names in External Access Database (Automation)

In this article I will explain how you can get the names of all the tables in an external access database using VBA. The first step would be to connect to an external database. I’ve explained this in the article below: VBA, Open Access Database From

No Thumbnail

Access Using Expressions (Calculated Fields) In Form Controls

This article explains how you can display the result of an Expression in a form control. Consider the table below: We want to create the following form: The form has 4 textboxes: TextBox #1: Displays the value of “Field1” Textbox #2: Displays the value of