Thanks Patrick, is not exactly it..I try to explain it better: Rule to populate AEFLAG (many records by subject if subject is qualify): Subject 1, show aeflag in days 3, 4 and 5, then because this subject have adverse events (subject qualify)...want to populate the rest of the days (1 and 2) also. Subject 2, show adverse events day 5, therefore, want to populate the rest of the days too...Day 1, 2, 3 and 4. Subject 3, dont show any adverse events, therefore is fine, it not need to be populated. Rule to populate INJFLAG (1 record by subject if subject is qualify): Subject 1, show injflag days 1 2 3 and 4, then, because this subject have injections (subject qualify)...want to populate only one record, his first day (day 1). Subject2, show inflag days 4 and 5, again I want to populate his first day (day 1). Subject 3, show inflag 2,3, 4, then i want to populate his first day (day 1) only. I hope it helps. Thanks.
... View more