Re: DBF WITH EXTENSION OTHER THAN .DBF ( I.E. DAT )



Go to http://www.advantagedatabase.com . They have a tdataset component
(free) for use with Delphi. It can read dbase files. I think (and I might be
wrong) it can open a dbf file by just assigning the filetype property as a
dbf filetype. You can download the component and try it. It is worth the
effort.

cheers :)


"michael" <mgoh_id@xxxxxxxxxxx> wrote in message
news:430c6581@xxxxxxxxxxxxxxxxxxxxxxxxx
> Dear All,
>
> I have few dbase files from older application. They are using .dat as the
> extension.
> If I rename the file to dbf and using odbc or jet 4.0 ( ole ) I managed to
> open connection and read table as it is.
> The problem is to make it compatible with older application.
>
> I read in MSDN about Jet 4.0, It is saying that with the previous version
> of
> Jet 4.0, it is allowed to read dbase file with extension other than .dbf
> Due to security measure, it has been disallowed
>
> The Problem is :
> I have to read .dat as it is w/o renaming the file due to it might be used
> when reading the file.
> Copying before renaming might be my last effort, as I prefer to be real
> time
> rather than copying the file.
>
> Is there some way to get around this problem ?
>
> Thanks
>
> Regards
>
> Michael
>
>


.