HI,
I have code which exports a table to a spreadsheet. It works fine apart from a Varchar 5000 field (from a SQL server) which is only shows the first 255 characters, when it opens the Excel Spreadsheet.
I have checked the orginal table (which is created on the fly) and it has all the data.
This is the code used to export the data.
acOutputTable = 0
and
sObjectname = The table being exported.
Thanks
Brian
I have code which exports a table to a spreadsheet. It works fine apart from a Varchar 5000 field (from a SQL server) which is only shows the first 255 characters, when it opens the Excel Spreadsheet.
I have checked the orginal table (which is created on the fly) and it has all the data.
This is the code used to export the data.
Code:
DoCmd.OutputTo acOutputTable, sObjectname
and
sObjectname = The table being exported.
Thanks
Brian