 | CGUIiImportTemplateSQL Method (IWin32Window, String, String, String, String) |
Create template to import an external database table; provide query.
Namespace:
Geosoft.Desktop.GXNet
Assembly:
geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static int iImportTemplateSQL(
IWin32Window owner,
string name,
string temp,
string sql,
string line
)
public static int iImportTemplateSQL(
IWin32Window owner,
string name,
string temp,
string sql,
string line
)
Public Shared Function iImportTemplateSQL (
owner As IWin32Window,
name As String,
temp As String,
sql As String,
line As String
) As Integer
Public Shared Function iImportTemplateSQL (
owner As IWin32Window,
name As String,
temp As String,
sql As String,
line As String
) As Integer
public:
static int iImportTemplateSQL(
IWin32Window^ owner,
String^ name,
String^ temp,
String^ sql,
String^ line
)
public:
static int iImportTemplateSQL(
IWin32Window^ owner,
String^ name,
String^ temp,
String^ sql,
String^ line
)
static member iImportTemplateSQL :
owner : IWin32Window *
name : string *
temp : string *
sql : string *
line : string -> int
static member iImportTemplateSQL :
owner : IWin32Window *
name : string *
temp : string *
sql : string *
line : string -> 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
Import template to make - sql
- Type: SystemString
SQL selection query to run on database - line
- Type: SystemString
Name of Oasis table to create
Return Value
Type:
Int32
0 - OK
-1 Cancel
terminates on error
Remarks
This is similar to iImportDatabaseSQL_GUI, but dispenses with
the dialog offering a selection of queries. Instead, the
user supplies the query as a string.
This function DOES NOT import the table itself, but
creates an import template which may be used to import
the data (see ImportDAO_DU).
See Also