######################################################################
#
# Macro Name    : c:/gem/workshops/geo_manual/testing/data/creating_geo_table_importing.tcl
#
# Version       : Surpac 6.0.1
#
# Creation Date : Mon Oct 01 21:00:07 2007
#
# Description   :
#
######################################################################

set status [ SclFunction "GEOLOGY DATABASE DISCONNECT" {} ]

set status [ SclFunction "RECALL ANY FILE" {
  file="add_optional_tables.ddb"
  mode="openInNewLayer"
}]


set status [ SclFunction "LOAD DATABASE" {
  frm10050={
    {
      _action=display
      dsc_file="geology"
      filename="geology"
      report_format=".not - Surpac Note File"
    }
  }
  frm10051={
    {
      _action=""
    }
  }
  frm10052={
    {
      _action=display
      scroll_1=table { include_table format_type delimiter space_fill text_qual } {
        { "N" null null null null }
        { "N" null null null null }
        { "N" null null null null }
        { "N" null null null null }
        { "Y" "FREE" "," "Y" "None" }
        { "N" null null null null }
        { "Y" "FREE" "," "Y" "None" }
        { "N" null null null null }
        { "N" null null null null }
      }
    }
  }
  frm10053=table { scroll_1 } {
    { table { include_field field_column field_length } {
        { "Y" "3" null }
        { "N" null null }
        { "Y" "1" null }
        { "N" null null }
        { "N" null null }
        { "N" null null }
        { "Y" "2" null }
        { "N" null null }
        { "N" null null }
        { "N" null null }
        { "Y" "4" null }
        { "Y" "4" null }
        { "Y" "5" null }
        { "Y" "1" null }
        { "N" null null }
        { "N" null null }
        { "N" null null }
        { "Y" "2" null }
        { "N" null null }
        { "N" null null }
        { "N" null null }
        { "Y" "3" null }
      } }
  }
  frm10056=table { overlapping_samples maximum_errors scroll_1 } {
    { "Y" "50" table { text_file_name load_type } {
        { "geology.txt" "Insert" }
        { "sample.txt" "Ins/Upd" }
      } }
    { "Y" "50" table { text_file_name load_type } {
        { "geology.txt" "Insert" }
        { "sample.txt" "Ins/Upd" }
      } }
  }
}]
puts  ""
puts  ""
puts  "Macro 02a_importing_data.tcl completed."
puts  ""
