DataShedImportLayouts QuickGuide
DataShedImportLayouts QuickGuide
Quick Guide
September 2021
DATASHED IMPORT LAYOUTS QUICK GUIDE
Contents
CONTENTS .................................................................................................................................................. 2
1.0 OVERVIEW ........................................................................................................................................ 3
2.0 IMPORTING DATA ............................................................................................................................. 3
2.1. Specify file and destination table ............................................................................................. 3
2.2. Viewing Buffer .......................................................................................................................... 4
2.3. Appending Data ........................................................................................................................ 5
2.4. Merging Data ............................................................................................................................ 6
Version History
Version Date Person File Name
1.0 Sept 2021 R Adriano DataShedImportLayouts_QuickGuide
maxgeo Page 2 of 6
Version: 202109
DATASHED IMPORT LAYOUTS QUICK GUIDE
1.0 Overview
Using DataShed import layouts, or importing directly into a database on the fly, is relatively
straightforward and intuitive in DataShed4. A brief summary of the main features is outlined below.
This document describes what to check for when importing data via DataShed’s import layout.
DataShed’s Import Data functionality is found in DataShed Add-ins Tools Import Data
maxgeo Page 3 of 6
Version: 202109
DATASHED IMPORT LAYOUTS QUICK GUIDE
maxgeo Page 4 of 6
Version: 202109
DATASHED IMPORT LAYOUTS QUICK GUIDE
After mapping all the available fields, select “Append”. In the example below, there were 353 records in
the buffer but only 149 records were inserted in the database (204 rejected). Click “View Errors” to
interrogate the reason for the records being rejected.
maxgeo Page 5 of 6
Version: 202109
DATASHED IMPORT LAYOUTS QUICK GUIDE
In this example, the rejected records have missing libraries in LIB Prospect.
In addition, it is good practice to Export the rejected records so libraries can be updated, or data can be
remediated, ready for import. Typical reasons for rejection:
• Missing library codes
• In active library codes
• Duplicate data based on primary keys
• Invalid Depth_From / Depth_To
The defined primary key fields will be used as means to identify which records to modify. Improperly
defined primary key fields can cause havoc since it could update a record in the database where the
user is not intending to.
In the example below, the destination table is tblDHColl (Collar table). The primary key fields for this
table are DataSet and Hole_ID.
The example below shows 6 records loaded but only one record was updated. Click “View Errors” to
interrogate the data further for reasons for the 5 records that did not merge.
maxgeo Page 6 of 6
Version: 202109