Import Data from Excel or Text into the P-Text Table
Borehole Manager | File | Import | Excel | Column Based | P-Text
Borehole Manager | File | Import | Text | Column Based | P-Text

This program is used to read row and column data from a single worksheet in Excel file or from a single text (CSV, tab-delimited) file, and import the rows and columns into the P-Text table for a single borehole, or for multiple boreholes if the borehole IDs are listed in the spreadsheet. This is designed for users who have measurements for multiple point-data components, by depths, that can't be easily brought into the RockWorks database using the Row Based Excel import program. The import works with XLSX, XLS, CSV, and TXT files, provided that Microsoft Excel is installed on the user's machine.

! The Borehole Manager P-Text table can accept alphabetic or alphanumeric data. If you are importing numeric data and intend to interpolate solid models, you'll need to use the P-Data Import menu option.

Here is an example of the kind of Excel data that can be brought into RockWorks using this program; this subset lists measurement depths in the first column, and different sample measurements in columns 2 - 4. The columns can be in any order.

Import P-Text

! This import program allows you to import one or many columns from the spreadsheet.
! It also allows you to append append new P-text columns to existing drillholes. For example, if the drillhole already lists the SAMPLE column, you can add new SPT and RecFt columns to the hole, with the result being all 3 P-Text columns for the drillhole.
! It also allows you to append new data to an existing column. For example, if the hole already contains data for the SAMPLE column for depths 0 - 50 and you import the SAMPLE data again for depths 51-100, the original data can be retained. Be sure to activate the Append to Existing Data option.

Menu Options
Step-by-Step Summary


  1. Access the Borehole Manager.
  2. If necessary, browse to the project folder in which you want to work.
  3. Select the File | Import | CSV | Column Based | P-Text menu option to import from CSV.
    Select the File | Import | Excel | Column Based | P-Text menu option to import from XLS or XLSX.
  4. Select the name of the XLS or CSV file to be imported. The program will scan the file and load the names of the columns in the Input Column Name listing.
  5. Next, specify whether you are importing for a single borehole or for multiple holes using the Import for One Borehole checkbox (as described above).
  6. If you need to define the column names for your borehole project (or add to existing names) click the Type Table button and make the necessary changes to the P-Text Types table.
  7. Map the project's column names to the spreadsheet columns, as described above. Be sure to map the borehole name column to the Borehole ID field. You only need to map those columns you wish to import.
  8. Click the OK button to proceed.

The program will read the specified XLSX, XLS, CSV, or TXT file. It will extract the data from the requested data columns and map them to the indicated database fields. Any existing P-Text for the requested columns will be overwritten; any new P-Text columns will be added to the database.



Back to Import Data

RockWare home page