| Date: | Sun, 5 Dec 2004 10:16:44 +0800 |
| Reply-To: | Tans Family <tans_family@PACIFIC.NET.SG> |
| Sender: | "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU> |
| From: | Tans Family <tans_family@PACIFIC.NET.SG> |
| Subject: | Re: Looping query. |
|
| Content-Type: | text/plain; format=flowed; charset="iso-8859-1";
reply-type=original |
Thank you so much,
By the way, is there any way to set the fonts size using syntax for the
output viewer?
Regards
S
----- Original Message -----
From: "Hector Maletta" <hmaletta@fibertel.com.ar>
To: "'Tans Family'" <tans_family@PACIFIC.NET.SG>; <SPSSX-L@LISTSERV.UGA.EDU>
Sent: Friday, December 03, 2004 12:33 AM
Subject: RE: Looping query.
> For whatever procedur you want, you can filter the cases you want to
> include. The filter command operates on any variable with the values 0,1.
>
> A rough example of how to do it:
>
> COMPUTE REPORT_1=(DATE LT 01/08/04). <------- Please use the
> appropriate format for the value of the DATE variable.
> COMPUTE REPORT_2=(DATE GT 01/08/04).
> *The above variables would equal 1 if the expression between parenthesis
> is
> true, and zero otherwise.
>
> FILTER BY REPORT_1.
> CTABLES ...........
> FILTER OFF.
>
> FILTER BY REPORT_2.
> CTABLES ...........
> FILTER OFF.
>
> Hector
>
>
>> -----Original Message-----
>> From: SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU]
>> On Behalf Of Tans Family
>> Sent: Thursday, December 02, 2004 1:47 PM
>> To: SPSSX-L@LISTSERV.UGA.EDU
>> Subject: Looping query.
>>
>>
>> MessageHi List,
>> Was wondering if anyone could help me with looping.
>> Appreciate any help
>>
>> Query1:
>> I would like to run my reports (i.e. Custom Tables) by
>> checking on candidates who have taken a test before a date
>> (i.e. 010804), then report A should be generated
>>
>> And if candidate take the test after a date (i.e.010804),
>> report B should be generated instead.
>>
>> Is it possible to write a IF command to generate the report
>> according by checking on the "date" field, filter according
>> and tabulating the right report?
>>
>> Query2:
>> Lastly, is there a syntax command to change the font and size
>> before the report is generated out?
>>
>>
>> Thank you very very much.
>>
>> Regards
>> S
>>
>> p/s: As I am not able to attached any files, hence can't
>> provide any data example. Sorry.
>>
>
>
|