View previous topic :: View next topic
|
Author |
Message |
ziggydog
New User
Joined: 15 Sep 2006 Posts: 1
|
|
|
|
Is there a way to force Easytrieve to always produce a report's headings, regardless of whether there was input for the report or not? This would be to ensure that a minimal report of the headings is available each processing day for the users to view.
Thanks. |
|
Back to top |
|
|
IQofaGerbil
Active User
Joined: 05 May 2006 Posts: 183 Location: Scotland
|
|
|
|
I do not think you can do this when using automatic file processing as the code will not be processed when you have an empty file.
So I would suggest that you will have to use a NULL input and GET the file instead, you would have to allow for EOF on your first read and then only could you put out your header record.
However be careful, if you just 'PRINT' your REPORT and it refers to numeric fields the you will get a S0C7 if there is no data to refer to when the file is empty.
Suggest that you have a DISPLAY of the headers instead in this situation. |
|
Back to top |
|
|
|