Delphi 3 DB Aware Components Making BDE Function Calls 
Author Message
 Delphi 3 DB Aware Components Making BDE Function Calls

In prior versions of Delphi if you needed to make a component Data Aware
you would add a DataLink Property to your component, and if you needed to
make a BDE function call you could provide the appropriate BDE Handle
information from the DataSet property of the DataSource property of the
DataLink (DataLink.DataSource.DataSet.Handle) but now the BDE functionality
has been moved to BDEDataSet and DBDataSet.  What I need to know is how can
you access this Handle Property in Delphi 3 in a way that is similar enough
to the old way to make the code changes need for it to run on Delphi 1,2
and 3 minor.
...
FDataLink: TFieldDataLink;
...
var
  cP: CurProps;
...
Check(DBiGetCursorProps(FDataLink.DataSource.Dataset.Handle,cP));

David Bennett



Sun, 14 Nov 1999 03:00:00 GMT
 
 [ 1 post ] 

 Relevant Pages 

1. using BDE w/o data aware components

2. Using Delphi 2.0 data-aware components with Sybase SQL Server 10.0.25

3. db aware components / beans

4. Writing DB aware components alternative way

5. Data aware components in non-DB application

6. oracle with delphi w/o using BDE -- component??

7. Problems BDE Delphi 3 x BDE Delphi 4

8. Making Direct SQL function Call

9. Calling function makes huge delay?

10. select in DB #1 failing when calling a user-defined function on DB #2

11. Microsoft SQLServer calls BDE-callback function


 
Powered by phpBB® Forum Software