com.aspose.words
Interface IFieldDatabaseProvider


public interface IFieldDatabaseProvider 

Implement this interface to provide data for the FieldDatabase field when it's updated.

Method Summary
abstract FieldDatabaseDataTablegetQueryResult(java.lang.String fileName, java.lang.String connection, java.lang.String query, FieldDatabase field)
           Returns query result.
 

Method Detail

getQueryResult

public abstract FieldDatabaseDataTable getQueryResult(java.lang.String fileName, java.lang.String connection, java.lang.String query, FieldDatabase field)
Returns query result.
Parameters:
fileName - The complete path and file name of the database specified in the \d field switch.
connection - The connection to the data specified in the \c field switch.
query - The set of SQL instructions that query the database specified in the \s field switch.
field - The field being updated.
Returns:
The FieldDatabaseDataTable instance that should be used for the field's update.

See Also:
          Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
          Aspose.Words Support Forum - our preferred method of support.