 | CGUIiImportDatabase Method (IWin32Window, String, String, String) |
Create template to import an external database table.
Namespace:
Geosoft.Desktop.GXNet
Assembly:
geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static int iImportDatabase(
IWin32Window owner,
string name,
string temp,
ref string table
)
public static int iImportDatabase(
IWin32Window owner,
string name,
string temp,
ref string table
)
Public Shared Function iImportDatabase (
owner As IWin32Window,
name As String,
temp As String,
ByRef table As String
) As Integer
Public Shared Function iImportDatabase (
owner As IWin32Window,
name As String,
temp As String,
ByRef table As String
) As Integer
public:
static int iImportDatabase(
IWin32Window^ owner,
String^ name,
String^ temp,
String^% table
)
public:
static int iImportDatabase(
IWin32Window^ owner,
String^ name,
String^ temp,
String^% table
)
static member iImportDatabase :
owner : IWin32Window *
name : string *
temp : string *
table : string byref -> int
static member iImportDatabase :
owner : IWin32Window *
name : string *
temp : string *
table : string byref -> int
Parameters
- owner
- Type: System.Windows.FormsIWin32Window
The IWin32Window the message box will display in front of. - name
- Type: SystemString
External database file name - temp
- Type: SystemString
Template to make - table
- Type: SystemString
Name of table imported (returned)
Return Value
Type:
Int32
0 - OK
-1 - Cancel
Remarks
This is used to select a single database table, and
selected fields from that table. If the database is not
Microsoft Access (type .mdb), an introductory dialog
requests the file type.
This function DOES NOT import the table itself, but
creates an import template which may be used to import
the table (see ImportDAO_DU).
See Also