Tag Archives: Access

No Thumbnail

Open Google Earth Using VBA for Access. Google Earth API

This article explains how you can use VBA for Access to open google earth. Note: The google earth API will only be available if you have Google Earth installed on your computer. The first step would be to add reference to the Google Earth 1.0 Type Library. Note the

No Thumbnail

Access Startup Form

Previously in the article Open Form When Database is Opened, Access I’ve explained how you can use an “Autoexec” macro to open a certain form every time the access file is opened. In this article another method will be explained. – Step 1: Click on the File button: –

DLookUp, Access Expression Builder

This article will explain the DLookUp function used in the Access expression builder. – Syntax: =DLookup(expr, domain [, criteria] ) expr: The field whose value will be returned. String expression. domain: The set of records where the value will be retrieved from. String expression. criteria:

Excel VBA, Export Worksheet to Blank Access Table

In this article I will explain how you can export values from an excel worksheet to a new blank Access table. – Step 1: The first step would be to connect to an existing access database or create a new access database. In this example we

No Thumbnail

Recordset.AddNew Method VBA Access

The Recordset.AddNew method is a function used for adding records to a recordset. – Syntax: Call objRecordset.AddNew([FieldList], [Values]) objRecordset: A Recordset object. FieldList: A 1 dimensional array of the variant type. This array must contain the Field names. Values: A 1 dimensional array of the

Access Create Table

This article will explain how to create a blank table in access. – Step 1: Click on the Table or Design Table buttons on the Create Ribbon: – Step 2, Save Table: The table created in the previous step needs to be saved. This can be

No Thumbnail

VBA Access, Recordset.Recordcount

The ADODB.Recordset object has a recordcount property. This property returns the number of records in the recordset. This property may or may not work correctly depending on the cursor type chosen. For the following cursor types this property will work correctly: adOpenKeyset adOpenStatic but for

No Thumbnail

VBA, Open Access Database From Excel

In this article I will explain how you can open an existing Access database from Excel using VBA. If you wish to only import the data into excel you could use the topic covered in the article below: Excel Connect To External Data (Access Database ) In

Access DataSheet Forms

In this article I will explain how to create datasheet forms in access. – What is it? Datasheet forms are forms that look like an Access table (a datasheet): – How to? Step 1: Click on the Form Wizard button on the Create Ribbon: Step

Access Tables Design View

This article explains how to display Access tables in design view. – Method 1: Right click the table on the left and click on design view: Result: – Method 2: Step 1: Open the table you want to display in design view: Step 2: On either