On Apr 23, 10:33 am, "Rodo" <dsp1...@yahoo.com> wrote:
> Hi all,
>
> I'm new to this whole thing. I have a bunch of text files that are created
> by a software at work that keeps info one of our products. Each unit being
> calibrated gets a "record" (track by serial number) which is a text file
> with data. The data is almost all the same format. There is header info
> about the customer, then some more specs about the product then between 5 to
> 14 rows of calibration data.
>
> The software that controls the whole thing is ancient. I don't want to touch
> it. It writes this text file to the network for every unit that ships out. I
> need to look at the files whenever I need to. I was hoping to have a windows
> form to open the text file and somehow have the report template in a crystal
> report file. The windows form coud display the data and print it if required
> but it looks like I need to have the data in a database... which I do not.
>
> Is this even possible ?
>
> Thanks in advance.
Hi!
Use you own custom code to populate a dataset and then pass it to
Crystal Reports ReportDocument Object using SetDataSource Method.
The easiest way is to Design your DataSet using DataSet Designer. Then
Create Your Report using Crystal Reports and specify the Data Source
for the report as ADO.net DataSet.
Then at runtime Populate that Data Set with Data using your custom
code and then pass it on the Crystal Report using SetDataSource
Method.
If you need any further info fee free to contact me
Bye
Manu Singhal
MCP
(E-Mail Removed)