SmokinWrek
IS-IT--Management
I need help!
I have a program that reads in a flat datafile (fixed field/record length) and rewrites that file, but with extra records inserted every so often. The interval of insertion is dependant upon user input at the start of the program. I need to create a report that is based on the information being put into these extra records as well as information generated based on user input at the start of the program.
I would like to do a data report so that future revisions are relatively easy, but unsure as to how to provide the datasource. I've thought about using a data-aware class as the datasource, is this possible? If so, how would I go about getting the data that's being generated in my program into the recordset of the data-aware class? Would I have to write this data as records to a file before I could create the report?
I'm fairly new to classes as well as ADO, so an explanation rather than (or in addition to) code would be most appreciated.
Kevin
I have a program that reads in a flat datafile (fixed field/record length) and rewrites that file, but with extra records inserted every so often. The interval of insertion is dependant upon user input at the start of the program. I need to create a report that is based on the information being put into these extra records as well as information generated based on user input at the start of the program.
I would like to do a data report so that future revisions are relatively easy, but unsure as to how to provide the datasource. I've thought about using a data-aware class as the datasource, is this possible? If so, how would I go about getting the data that's being generated in my program into the recordset of the data-aware class? Would I have to write this data as records to a file before I could create the report?
I'm fairly new to classes as well as ADO, so an explanation rather than (or in addition to) code would be most appreciated.
Kevin