Importing Data from CSV or Excel into the P-Text Table

Borehole Manager | File | Import | CSV | CSV File -> P-Text
Borehole Manager | File | Import | Excel | Single Table | Excel -> P-Text

These programs are used to read row and column data from a single worksheet in Excel file or from a single CSV 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 multiple-table Excel import tool.  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 tool; 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 tool allows you to import one or many columns from the spreadsheet. 
! It also allows you to 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. 
! This tool does not allow you to append new data to an existing column - if the specific column already exists, and you import it again, the original data will be replaced.  For example, if the hole already contains data for the SAMPLE column and you import the SAMPLE data again, the original data will be overwritten.

Menu Options
Step-by-Step Summary


Menu Options

Tips & Reminders:

Other tips

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 | CSV File -> P-Text menu option to import from CSV.
    Select the File | Import | Excel | Single Table | Excel -> 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 Importing Data

RockWare home page