I have a report that I need to export as CSV, for further processing. I decided to use a standard trick, use a parameter to define two modes of running. One has headers and is readable, suitable to be exported in its readable form for future reference. The other mode suppresses headers and is suitable for CSV, without including the headers on every single row.
Unfortunately, CSV ignored the conditional suppression and included the headers. Not what I was after.
Obviously I could overcome this by having two separate versions of the report, or by exporting as Text rather than CSV. But is there any simpler way round?
I use Crystal 10 from an SQL database on a Windows XP Professional machine.
Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 ![[yinyang] [yinyang] [yinyang]](/data/assets/smilies/yinyang.gif)
Unfortunately, CSV ignored the conditional suppression and included the headers. Not what I was after.
Obviously I could overcome this by having two separate versions of the report, or by exporting as Text rather than CSV. But is there any simpler way round?
I use Crystal 10 from an SQL database on a Windows XP Professional machine.
![[yinyang] [yinyang] [yinyang]](/data/assets/smilies/yinyang.gif)
![[yinyang] [yinyang] [yinyang]](/data/assets/smilies/yinyang.gif)