[EpiData-list] Re: Incomplete execution of PGM due to no observations in a select

epidata-list at lists.umanitoba.ca epidata-list at lists.umanitoba.ca
Mon Aug 20 16:43:58 CDT 2007


Just add "IMIF" in each select group: (here shown with one group):

TYPE "\LTABLE SHOWING ILLNESS IN THE SES CLASS 2"
SELECT SES=2
count /q
* in the next line we use a resultvariable called $count:
* resultvariables are shown with the command "result"

imif $count > 0 then

   TABLES SEX ILLNESS
else
  type "No observations"
endif
Select


Regards
Jens Lauritsen
EpiData Association


More information about the EpiData-list mailing list