Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Want column headings in csv file; output folder question

edited February 2008 in General
RB 7.04, D7.01. I am able to create a csv file, but it would be nice to
include column headings, once and only once. I can flag labels for Save,
but then they show on every page. Also, some columns don't have or need
headers in the printed output.

Another issue is that I assign a text file name. If the user saves without
clicking the ellipsis, it goes to the program folder. If the user does
click the ellipsis, the file goes to the user's documents folder. Is there
a nice way to make this consistent?

Jeremy

Comments

  • edited February 2008
    I forgot to mention that Saving a column header label does not add a
    separate row, after the first instance.
  • edited February 2008
    Hi Jeremy,

    Try placing the column heading inside the Title band of the report so they
    only export once for the entire report.

    The Print Dialog uses the standard TSaveDialog when selecting the file
    location to save an exported file. If you assign the Report.TextFileName
    property (Path included), the directory will be used as the initial
    directory for the save dialog.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.