Reassembling RAW data

dclyde

New Member
Hi,
Fairly new to the world of progress. i have written a small app that takes an excel file and breaks it down into 16k sections and stores them as RAW fields in my table.
I am now trying to reassemble the RAW data back into the original state and output to a new excel doc but am totally flummexed as how to even begin this.
Any help would be appreciated. Even pointing me to any helpful documents or tutorials would be great.

many thanks
damian
:)
 

Casper

ProgressTalk.com Moderator
Staff member
You simple put the rawdata back to a file:

Code:
define stream sOut.
 
output stream sOut to value('outputdir/filename.xls').
for each table where ......:
   put stream sOut control table.rawfield.
end.
output stream sOut close.

Just fill in the path, where clause and right table/field names and this should work.

HTH,
Casper.
 
Top