Sophy, if set bGetFullColRange as true, range will be set as c1, r1, c2, -1(r2)
BOOL GetDataRange( DataRange & dr, int nTableID, int nIDX, int * pnIDY, int nCountIDY = 1, BOOL bMultipleBlocks = TRUE, BOOL bCreateWks = false, BOOL bIgnoreRowRange = FALSE, BOOL bCheckConvertUpperbound = FALSE )
TRUE for success; otherwise FALSE.
ReportBase's examples
Get one data range by ids from the report
ReportTree.h