Unit rdbtool_ADO

DescriptionUsesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

rdbtool_ADO is set functions for working with ADO datasets, ChangeSortExADO and RequeryExADO can be used by rDBGrid for sorting and refreshing of data if ADODataset is used.

Overview

Functions and Procedures

function SetTableIndexADO(T: TADOTable; FieldName: string): boolean;
procedure ChangeSortADO(ADO: TCustomADODataSet; SortFieldName: String; SortDesc: boolean; var Accept: boolean);
procedure ChangeSortExADO(ADO: TCustomADODataSet; SortFieldNames: array of string; SortDirections: array of boolean; var Accept: boolean);
function RequeryExADO(ADO: TCustomADODataSet; F: TField): boolean;
function RequeryGridADO(rDBGrid: TrDBGrid): boolean; overload;
function RequeryGridADO(rDBGrid: TrDBGrid; ToFirst: boolean): boolean; overload;

Description

Functions and Procedures

function SetTableIndexADO(T: TADOTable; FieldName: string): boolean;
 
procedure ChangeSortADO(ADO: TCustomADODataSet; SortFieldName: String; SortDesc: boolean; var Accept: boolean);
 
procedure ChangeSortExADO(ADO: TCustomADODataSet; SortFieldNames: array of string; SortDirections: array of boolean; var Accept: boolean);
 
function RequeryExADO(ADO: TCustomADODataSet; F: TField): boolean;
 
function RequeryGridADO(rDBGrid: TrDBGrid): boolean; overload;
 
function RequeryGridADO(rDBGrid: TrDBGrid; ToFirst: boolean): boolean; overload;
 

Generated by PasDoc 0.13.0 on 2017-06-17 14:57:21