Date: Thu, 26 Jun 1997 11:48:06 -0400
Reply-To: Gregory Barnes Nelson <gbn@ASG-INC.COM>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Gregory Barnes Nelson <gbn@ASG-INC.COM>
Subject: Re: Question: how to Print Data Form?
Content-Type: text/plain; charset="us-ascii"
Hi Phil. The way that I got around this was to create a method which basically took as it's parameters the form's object id. The method saves the contents of the data form to a dataset and then format's the dataset so that it prints ok...
call send (dfid, '_save_as_', 'work.header','Y');
In my case the frame had a table that was keyed off of the form and I wanted to print both using proc report so it printed the header information (data form) and the detail (data table). Kind of a kludge, but it works ok...
I would be interested in other stories..
--greg barnes nelson
From: Philip Mason [SMTP:phil@WOOD-ST.DEMON.CO.UK]
Sent: Thursday, June 26, 1997 10:55 AM
To: Multiple recipients of list SAS-L
Subject: Question: how to Print Data Form?
Printing a Data Table is easy by using the _print_ method ... but printing
a Data Form seems to be more difficult, since there is no _print_ method.
SAS Tech support in Belgium (where my client is) could only suggest using
the _snapshot_ method as an interim step to printing the form.
Does anyone know of an easy way to Print the contents of a Data Form?
p.s. I have a nice tip I will post soon about combining the Tab widget and
Freelance SAS Consultant
16 Wood Street, Wallingford, Oxfordshire, OX10 0AY, England
Phone: +44 1491 834615 Fax: +44 1491 834615