The report groups records by full name. I want to be able to display the first record in each group with a non-blank description field. If all records have a blank description then the last record should be displayed.
So what should appear is the latest comment or blank if no comment has ever been recorded. At present I have the following bits of code added to the report:
Details - Suppress (No-drill down)
shared numbervar count; if count=1 then false else true
Header
shared numbervar count; count:=0;
Details
shared numbervar count; count:=count+1;
This only will display the first record regardless of content. What I need is to add code to suppress the record until a non-blank is found or display the last record if no record is found.