[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: Getting current setting of columns per page
- Subject: Re: Getting current setting of columns per page
- From: "Mansfeld, Fredrik" <fredrik@ABARIS.SE>
- Date: Thu, 30 Jan 1997 11:22:37 +0100
Hi,
I have solved that problem by using the #define statement. I have a
couple of general files with such things as headers and footers and
other things that the users feels must look the same on every report. I
#include those files in all my reports, but before the #include
statement I make sure to #define all constants needed, preferably in a
file for it self. So the beginning of my reports could look something
like this (very much lika a C-file, I know):
#include 'MyDefine.dat'
#include 'GenHead.dat'
#include 'GenFoot.dat'
#include 'GenProc.dat'
In the MyDefine.dat I have a line that might look like this:
#define Columns 120
And in GenHead.dat you find this:
Page-Size {Lines} {Columns}
This works fine with me.
Regards,
Fredrik
> ----------
> From: Discussion of MITI's SQR database reporting
> language[SMTP:SQR-USERS@USA.NET] on behalf of Scott
> McCann[SMTP:smccann@IONLINE.NET]
> Sent: den 29 januari 1997 21:48
> To: Multiple recipients of list SQR-USERS
> Subject: Getting current setting of columns per page
>
> Is there a reserved variable name, or any way to extract what the
> current
> number of columns are set to for a report?
>
> I want to develop a generic heading routine for all reports to look
> extactly the same and need to position some text X characters from the
> right side of the page. The declare-report in any of these reports
> could
> be using any number of pre-defined layouts.
>
> Thanks in advance,
>
> --_ Scott _--
>