From: Audrey M. on 17 Mar 2010 12:22 I need to create a listing like this: Patient Lab_parameter Value ________________________________________________________________________ 01 Hematocrit 10.0 The data was confirmed by query. Hemoglobin 11.0 The investigator confirmed the data. .... So my issue is that I need to put a comment under each laboratory value and in case I do not have a comment in COMMENTS or if the comments is too long, there is a blank line under each laboratory data or the comment is cut. I have tried the Compute after statement but I cannot delete this blank or I cannot have the end. So my question is : how to program in order to have this line(s) of comments present or not (depending if data are present or not in COMMENTS variable. Thanks.
From: RolandRB on 20 Mar 2010 12:57 On Mar 17, 5:22 pm, "Audrey M." <amore...(a)yahoo.fr> wrote: > I need to create a listing like this: > > Patient Lab_parameter Value > ________________________________________________________________________ > 01 Hematocrit 10.0 > The data was confirmed by query. > Hemoglobin 11.0 > The investigator confirmed the data. > ... > > So my issue is that I need to put a comment under each laboratory > value and in case I do not have a comment in COMMENTS or if the > comments is too long, there is a blank line under each laboratory data > or the comment is cut. > I have tried the Compute after statement but I cannot delete this > blank or I cannot have the end. So my question is : how to program in > order to have this line(s) of comments present or not (depending if > data are present or not in COMMENTS variable. > > Thanks. Use a $varying format with a length of zero to suppress the line. It is explained on the page you can link to below. http://www.datasavantconsulting.com/roland/condline.html
|
Pages: 1 Prev: PROC IMPORT with European style numbers Next: Help needed with PROC SCORE |