Tag Archives: Database

VBA Add Fields to External Access Database (Automation)

In this article I will explain how you can add fields to a table in an external access database using VBA. The first step would be to connect to an external database. The article below explains how you can connect to an existing database: VBA, Open

No Thumbnail

VBA Access Get Field Types

In this article I will explain how you can get the types of all the fields in a table in an access database using VBA. – Get Field Types: The access database used in this example has a table with the name “MyTable1”: Note: You may need to add reference to the Microsoft

No Thumbnail

Check If Field Exists, VBA Access

In this article I will explain how you can check if a field exists in an access database using VBA. Previously in the article below I’ve explained how you can get the name of all the fields in a table in an access database using

No Thumbnail

VBA Access Add Fields

In this article I will explain how you can add fields to a table in an access database using VBA. If the database does not contain any tables, you can use the topic covered in the article below to create tables for it: VBA Access Create

No Thumbnail

Access VBA Get Field Names

In this article I will explain how you can get the names of all the fields in a table an access database using VBA. The first step would be to get the name of the table. The article below explains how you can get the name of all

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