 | CDUImportAllDAO Method |
Import an entire external database using DAO.
Namespace:
Geosoft.Desktop.GXNet
Assembly:
geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static void ImportAllDAO(
CDB db,
string data,
string type,
int storage
)
public static void ImportAllDAO(
CDB db,
string data,
string type,
int storage
)
Public Shared Sub ImportAllDAO (
db As CDB,
data As String,
type As String,
storage As Integer
)
Public Shared Sub ImportAllDAO (
db As CDB,
data As String,
type As String,
storage As Integer
)
public:
static void ImportAllDAO(
CDB^ db,
String^ data,
String^ type,
int storage
)
public:
static void ImportAllDAO(
CDB^ db,
String^ data,
String^ type,
int storage
)
static member ImportAllDAO :
db : CDB *
data : string *
type : string *
storage : int -> unit
static member ImportAllDAO :
db : CDB *
data : string *
type : string *
storage : int -> unit
Parameters
- db
- Type: GeoEngine.Core.GXNetCDB
Database - data
- Type: SystemString
Import data file name - type
- Type: SystemString
Database type - storage
- Type: SystemInt32
<define>DU_STORAGE</define>
Remarks
1. The file is assumed to be a DAO compliant database.
2. The import data file must include the path if it is not
in the local directory.
3. For group storage, the table names are imported "as is". For line storage,
if the table names are valid Geosoft line names, they are used as is.
Otherwise, line names will be created with type LINE_NORMAL, starting at
L0 and incrementing by 10 (L10, L20 etc.)
4. If the line exists, the data will overwrite the existing data.
5. All tables and fields will be imported.
6. The following are valid type strings for DAO:
MSJET : Microsoft Access
ODBC : ODBC source
dBASE III
dBASE IV
dBASE 5
FoxPro 2.0
FoxPro 2.5
FoxPro 2.6
Paradox 3.x
Paradox 4.x
Paradox 5.x
See Also