public class FieldDatabase extends Field
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getConnection()
Gets a connection to the data.
|
java.lang.String |
getFileName()
Gets the complete path and file name of the database
|
java.lang.String |
getFirstRecord()
Gets the integral record number of the first data record to insert.
|
java.lang.String |
getFormatAttributes()
Gets which attributes of the format are to be applied to the table.
|
boolean |
getInsertHeadings()
Gets whether to insert the field names from the database as column headings in the resulting table.
|
boolean |
getInsertOnceOnMailMerge()
Gets whether to insert data at the beginning of a merge.
|
java.lang.String |
getLastRecord()
Gets the integral record number of the last data record to insert.
|
java.lang.String |
getQuery()
Gets a set of SQL instructions that query the database.
|
int |
getSwitchType(java.lang.String switchName) |
java.lang.String |
getTableFormat()
Gets the format that is to be applied to the result of the database query.
|
void |
setConnection(java.lang.String value)
Sets a connection to the data.
|
void |
setFileName(java.lang.String value)
Sets the complete path and file name of the database
|
void |
setFirstRecord(java.lang.String value)
Sets the integral record number of the first data record to insert.
|
void |
setFormatAttributes(java.lang.String value)
Sets which attributes of the format are to be applied to the table.
|
void |
setInsertHeadings(boolean value)
Sets whether to insert the field names from the database as column headings in the resulting table.
|
void |
setInsertOnceOnMailMerge(boolean value)
Sets whether to insert data at the beginning of a merge.
|
void |
setLastRecord(java.lang.String value)
Sets the integral record number of the last data record to insert.
|
void |
setQuery(java.lang.String value)
Sets a set of SQL instructions that query the database.
|
void |
setTableFormat(java.lang.String value)
Sets the format that is to be applied to the result of the database query.
|
getDisplayResult, getEnd, getFieldCode, getFieldCode, getFormat, getLocaleId, getResult, getSeparator, getStart, getType, isDirty, isDirty, isLocked, isLocked, needStoreOldResultNodes, remove, setLocaleId, setResult, unlink, update, updatepublic java.lang.String getFormatAttributes()
public void setFormatAttributes(java.lang.String value)
throws java.lang.Exception
value - Which attributes of the format are to be applied to the table.java.lang.Exceptionpublic java.lang.String getConnection()
public void setConnection(java.lang.String value)
throws java.lang.Exception
value - A connection to the data.java.lang.Exceptionpublic java.lang.String getFileName()
public void setFileName(java.lang.String value)
throws java.lang.Exception
value - The complete path and file name of the databasejava.lang.Exceptionpublic java.lang.String getFirstRecord()
public void setFirstRecord(java.lang.String value)
throws java.lang.Exception
value - The integral record number of the first data record to insert.java.lang.Exceptionpublic boolean getInsertHeadings()
public void setInsertHeadings(boolean value)
throws java.lang.Exception
value - Whether to insert the field names from the database as column headings in the resulting table.java.lang.Exceptionpublic java.lang.String getTableFormat()
public void setTableFormat(java.lang.String value)
throws java.lang.Exception
value - The format that is to be applied to the result of the database query.java.lang.Exceptionpublic boolean getInsertOnceOnMailMerge()
public void setInsertOnceOnMailMerge(boolean value)
throws java.lang.Exception
value - Whether to insert data at the beginning of a merge.java.lang.Exceptionpublic java.lang.String getQuery()
public void setQuery(java.lang.String value)
throws java.lang.Exception
value - A set of SQL instructions that query the database.java.lang.Exceptionpublic java.lang.String getLastRecord()
public void setLastRecord(java.lang.String value)
throws java.lang.Exception
value - The integral record number of the last data record to insert.java.lang.Exceptionpublic int getSwitchType(java.lang.String switchName)