Unit DBVRead

Classes

TDBVReader -

Functions

Register - TDBVReader

Create

Types

TDBVStru

Constants

Variables


Functions


procedure Register;

TDBVReader

Create


Types


TDBVStru = record
Size : longint;
Signiture : byte;
Compression : byte;
end;
TDBVReader component. } { Created 3/16/96 8:57:56 AM } { Eagle Software CDK, Version 1.01 Rev. X-2 } { Modified 3/17/96 10:06:07 AM by the CDK, Version 1.01 Rev. X-2 } { DBV Reader - Data Aware DBV Reader Component} Author: Bill Wehnert Date: 17 March 1996 (c) copyright 1996, Bill Wehnert - all rights reserved (c) copyright 1996, Kyle Poole - all rights reserved This component is a wrapper for the DBV Reader that Kyle Poole wrote to allow Delphi the ability to read and extract data from a DBV. I added to that so that I can specify a datasource and field, and have the component handle the minutia. To use the component: 1) Drop a TTable, TDataSource, & TDBVReader on your form. 2) Select your database 3) Attach your DataSource to your Table 4) Attach your DBVReader to your DataSource 5) Pick your field from the DataField Drop Down 6) Set FileName in the DBVReader to your DBV File - full filename & extension!!! 7) When you want to extract the data in the DBV, call DBVReader.SaveToFile('filename.out') This process will create a file called "filename.out" that will hold the data that was in the DBV at the position of the assigned pointer field. This code is freely given into the public domain. You may use it as you see fit. If you distribute an app with source code, please provide this unit with the comments intact. If you find this unit usefull, drop me a line: CIS: 74603, 3153 Internet: wehnertb@moodys.com ENJOY! { SHAMEFULL PLUG !!!! As you may have noticed, this was written with Eagle Software's CDK utility. If you are going to do any Control Development, RUN - don't walk to the nearest phone and order this product. It makes component creation a piece of cake! Especially if you are unfamiliar with how database aware components are created. With their "canned" template definitions, it handled all the things I would not have found right up front. Definately worth the price!

Constants


Variables