TBetterADODataSet 4.04

By Vassil Nazarov

Freeware 12 Jan 2006

In category

DB-Aware Components > Direct DB Access > MS Other

Description

TBetterADODataSet is a direct descendent of Borland's TADODataSet which means that if and when Borland releases a new patch and/or version of their ADOExpress library it won't break any existing code written to use this descendant. Farther more, although author sincerely believes that the next version of ADOExpress (D6) shall render this component unnecessary, it will transparently inherit any bug-fixes and new features that Borland may release.

TBetterADODataSet works around several Bugs of TCustomADODataSet:

  • A bug in TCustomADODataSet.CancelBatch
  • A bug in TCustomADODataSet.GetCanModify
  • A bug in TCustomADODataSet.DoAfterScroll.
TBetterADODataSet introduces new features not surfaced in TADODataSet:
  • Proper inserting, editing and deleting with Joined ResultSets with automatic JoinTest, automatic or manual JoinsResolution, and DeleteGuardian. Also see InternalPost.
  • The most important ADO RecordSet's dynamic properties implemented as native Delphi properties for easy access and persistence. See Resync_Command, Unique_Catalog, Unique_Schema, Unique_Table, Update_Criteria and Update_Resync.
  • Proper initialization of the "Required" and "ReadOnly" attributes of TFields where supported by the provider. See InternalInitFieldDefs.
  • Support for several new features introduced in MDAC 2.5 and 2.6. See SaveToADOStream, LoadFromADOStream, FieldStatus and NamedParams.
  • A new Refresh method to cover Requery and most aspects of ADO's Resync in conjunction with the new RefreshType property. Defaults to Resync the current record only. Also see DoBeforeRefresh.
  • Some convenience features. See ParamByName, GetString and Errors.
  • Implement support for pessimistic locking with the JET provider.
TBetterADODataSet extends some features of TADODataSet:
  • The Requery method extended to persist the settings of the implemented dynamic properties.
  • The DeleteRecords method extended to support arAll and arAllChapters.

Informations

  • Status: Fully functional
  • Source: FW
  • Size: 76376 - 78204kB

Platforms:

  • Delphi 5
  • Delphi 6
  • Delphi 7
  • Delphi 2006 (Win32)

Downloads