Namespace: Consultingwerk.SmartComponents.Support
Class 
DatasetRelationParser Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:DatasetRelationParser
Author(s):Marko Rüterbories / Consultingwerk Ltd.
Created:Tue Mar 10 10:13:34 CET 2009
Purpose: Returns a new ColumnPropDesc Array with the given length
Notes:



Top Method Summary
Options Name Purpose
- INTEGER GetColumnCount (handle) Returns the exact count of fields including array fields
- Progress.Data.ColumnPropDesc GetNewColumnPropDescArray (integer) Returns a new ColumnPropDesc Array with the given length
- Progress.Data.TableDesc GetNewTableDescArray (integer) Returns a new TalbeDesc Array with the given length
+ Progress.Data.ColumnPropDesc GetTableFieldArray (handle, TableDesc, character) Returns an array of ColumnPropDesc from the given Buffer
+ Progress.Data.ColumnPropDesc GetTableFieldArray (handle, TableDesc, character, logical) Returns an array of ColumnPropDesc from the given Buffer
+ Progress.Data.TableDesc PackChildTable (TableDesc, TableDesc) Returns an Array of TableDesc


Method Detail
Top

PRIVATE INTEGER GetColumnCount (handle)

Purpose: Returns the exact count of fields including array fields
Notes:

Parameters:
phBuffer HANDLE
The handle to the buffer
Returns INTEGER
The total number of columns, including array extents
Top

PRIVATE Progress.Data.ColumnPropDesc GetNewColumnPropDescArray (integer)

Purpose: Returns a new ColumnPropDesc Array with the given length
Notes:

Parameters:
piCount INTEGER
Returns Progress.Data.ColumnPropDesc
The ColumnPropDesc array with the given size
Top

PRIVATE Progress.Data.TableDesc GetNewTableDescArray (integer)

Purpose: Returns a new TalbeDesc Array with the given length
Notes: The array will be returned empty

Parameters:
piCount INTEGER
The size for the TableDesc array to return
Returns Progress.Data.TableDesc
The new array for TableDesc instances of the given size
Top

PUBLIC Progress.Data.ColumnPropDesc GetTableFieldArray (handle, TableDesc, character)

Purpose: Returns an array of ColumnPropDesc from the given Buffer
Notes: New fields are appended to the eventually existing columns inside
the table

Parameters:
phBuffer HANDLE
The handle to the record buffer
poTable Progress.Data.TableDesc
The reference to the TableDesc instance
pcExceptList CHARACTER
INPUT-OUTPUT The BindingSource except field list
Returns Progress.Data.ColumnPropDesc
The array of ColumnPropDesc instances
Top

PUBLIC Progress.Data.ColumnPropDesc GetTableFieldArray (handle, TableDesc, character, logical)

Purpose: Returns an array of ColumnPropDesc from the given Buffer
Notes: New fields are appended to the eventually existing columns inside
the table

Parameters:
phBuffer HANDLE
The handle to the record buffer
poTable Progress.Data.TableDesc
The reference to the TableDesc instance
pcExceptList CHARACTER
INPUT-OUTPUT The BindingSource except field list
plUseFullFieldNames LOGICAL
If or if not the BindingSource uses FullFieldNames
Returns Progress.Data.ColumnPropDesc
The array of ColumnPropDesc instances
Top

PUBLIC Progress.Data.TableDesc PackChildTable (TableDesc, TableDesc)

Purpose: Returns an Array of TableDesc
Notes: If the parent table has children the new table is appended

Parameters:
poParentTable Progress.Data.TableDesc
The reference of the TableDesc instance of the parent table
poChildTable Progress.Data.TableDesc
The reference of the TableDesc instance of the child table
Returns Progress.Data.TableDesc
The array with the new TableDesc instance


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       15.04.2024 05:55:04