Exporting to Excel as XLS

Meeting place for R&R customers and clients to share tips and ideas. Post your questions, messages or problems here.
Post Reply
Anne_Phillips
Posts: 32
Joined: Tue Oct 10, 2017 12:44 pm

Exporting to Excel as XLS

Post by Anne_Phillips » Tue Dec 09, 2014 10:56 am

When we export to CSV the fields are correct. But if we export to XLS then the character fields are truncated to 39 characters? We set printername=CSV for CSV files and printername=W for XLS. Any help would be greatly appreciated.

Anne_Phillips
Posts: 32
Joined: Tue Oct 10, 2017 12:44 pm

=> RE: Exporting to Excel as XLS

Post by Anne_Phillips » Thu Dec 11, 2014 5:49 am

I can answer my own question. When you export to CSV the field size in the report is irrelevant. But XLS behaves like a displayed report and therefore you have to specify an appropriately large field size__

User avatar
cstrasser
Posts: 155
Joined: Tue Oct 10, 2017 12:44 pm

==> RE: Exporting to Excel as XLS

Post by cstrasser » Mon Jan 12, 2015 12:58 pm

I^ve noticed this within Excel as well. If you still have Excel 2003, and can create your own DBFs, you need to make the columns wide enough to display all the data, otherwise Excel uses some sort of algorithm to determine how wide the field is intended to be and you might wind up with truncation.
Chris Strasser
Liveware Publishing, Inc.
Work bigger.

Post Reply