Board index » delphi » ADO Data saved as a binary file

ADO Data saved as a binary file

Hello

I need to be able to read  a number of binary files back into a DBGRID so
that the data can be filtered and printed out. The data was exported from an
ADOQuery using  ADOQuery->SaveToFile() as binary data ready for transmission
over the internet

The data in each file represents a log of system activity for one day and
the number of the binary files that need to be loaded will depend upon how
much of the system history the user wants to view and then filter

Does anyone have any ideas.?

Thanks

 

Re:ADO Data saved as a binary file


Quote
>I need to be able to read  a number of binary files back into a DBGRID so
>that the data can be filtered and printed out. The data was exported from an
>ADOQuery using  ADOQuery->SaveToFile() as binary data ready for transmission
>over the internet

>The data in each file represents a log of system activity for one day and
>the number of the binary files that need to be loaded will depend upon how
>much of the system history the user wants to view and then filter

You would use LoadfromFile to load your saved files back into a TadoDataset.
If you need to load the records from more than one file at the same time you
will have to load the records into one TadoDataset then insert them one record
at a time into a second TadoDataset.  Then load the next file and do the same.

What else are you looking for?
--
Brian Bushay (TeamB)
Bbus...@NMPLS.com

Other Threads