DBListFetch(Object, Object, Object, Object, Int32, Object, Object, Object, Object) Method
Fetches a list of data defined by query into TargetRange. Optionally copy formulas contained in FormulaRange, extend list depending on ExtendDataArea (0(default) = overwrite, 1=insert Cells, 2=insert Rows) and add field headers if HeaderInfo = TRUE
Namespace: DBaddinAssembly: DBaddin in (DBaddin.dll)
Syntax
public static string DBListFetch( object Query, object ConnString, object targetRange, object formulaRange, int extendDataArea, object HeaderInfo, object AutoFit, object autoformat, object ShowRowNums )
Parameters
- Query
- Type: Objectquery for getting data
- ConnString
- Type: Objectconnection string defining DB, user, etc...
- targetRange
- Type: ObjectRange to put the data into
- formulaRange
- Type: ObjectRange to copy formulas down from
- extendDataArea
- Type: Int32how to deal with extending List Area
- HeaderInfo
- Type: Objectshould headers be included in list
- AutoFit
- Type: Objectshould columns be auto fitted ?
- autoformat
- Type: Objectshould 1st row formats be auto filled down?
- ShowRowNums
- Type: Objectshould row numbers be displayed in 1st column?
Returns
String
Status Message, data values are returned outside of function cell (@see DBFuncEventHandler)