Variables to pass to a report

Hello,
Maybe this is something simple but I couldn’t find anything here. I have a report that uses 15 lines on the header. What I want to do is populate those lines in sequence if the particular variable has any info. For example:

  1. The report will print like this
    Name: John Doe
    Street: 123 Any Street
    City: Any City
    Phone: 111-555-5555
    Email" johndoe@domain.com

  2. Let’s say there is no phone number, I want it to print like this
    Name: John Doe
    Street: 123 Any Street
    City: Any City
    Email" johndoe@domain.com

I though about creating 15 variables and then checking all the fields I need to print but got stock on how to keep track of what line to use

Thanks

this xojo report field have a before print event, i think u can use it to set each element a new .Top position or Me.Visible = False
And i believe you can set Self.Header.Height here. this property not have a autocomplete in ide.
alternative this pdf class is ok.

Thanks Markus