Is this the same issue that's truncating the parmdesc string in my code
below
to 255 characters?
Probably.
No way around it at all?
If you've tried DDE and that doesn't work (or you can't use DDE because you
don't want Excel popping up etc., and if you cannot pad the texts as I've
suggested (or it doesn't work) then the answer is
"probably not".
It /is/ possible to tweak the ODBC/OLEDB driver/provider in one or two ways
by changing the connection string and a registry entry, but I've already
taken account of that in my previous response - i.e. as far as I know there
is no set of tweaks that guarantees to get you /memo/ fields if they are
mixed with text fields in the same column.
If you can't sort it out using the ODBC/OLEDB driver/provider then as far as
I can see you either have to know how to access .xls files directly (in
which case we're talking about a completely different ball game) or you have
to automate Excel in order to get the data into a format that works.
However, at that point I have to research the problem further myself - the
format most likely to work is a table in a Word document, and that is only
workable if you have no more than 63 columns. You may find that long texts
in Access or SQL Server tables are equally problematic when used as merge
data sources).
I find it quite irritating that "255" is still such a barrier - the bar
could so easily have been raised to "65535" (at least) a long time ago.
Peter Jamieson