Bit of a weird request...
For reporting we output our data to csv files and then fire up a Crystal Reports viewer which pulls these files in to display reports. I've noticed that when I open the Crystal reports in something such as textpad, the text files used are human readable. I want to try and search a Crystal file for a list of all the text files it uses so we can then check in the temp directory to check the files are there before we try and run the viewer. Can anyone think of any bright ideas? The following code doesn't seem to pull in anything at all. So I can't pattern match
I'm running OE10.1B on Windows XP.
For reporting we output our data to csv files and then fire up a Crystal Reports viewer which pulls these files in to display reports. I've noticed that when I open the Crystal reports in something such as textpad, the text files used are human readable. I want to try and search a Crystal file for a list of all the text files it uses so we can then check in the temp directory to check the files are there before we try and run the viewer. Can anyone think of any bright ideas? The following code doesn't seem to pull in anything at all. So I can't pattern match
I'm running OE10.1B on Windows XP.
Code:
DEFINE STREAM stReport.
INPUT STREAM stReport FROM VALUE(lvDirectory + "\" + lvFile).
REPEAT:
IMPORT STREAM stReport UNFORMATTED lv1.
MESSAGE "JP" lv1
VIEW-AS ALERT-BOX INFO BUTTONS OK.
END.
INPUT CLOSE.