473,416 Members | 1,698 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,416 software developers and data experts.

Memo Text Truncation during Excel Export

I've searched this goup for an answer to this, there are many
discussions that come close but non that I can find that actually
addresses this particular problem.

I'm exporting queries to Excel. These queries have memo fields in them
Each memo field is trunkated, i.e cuts off after 255 characters.

Is there any way either via VBA or otherwise to get all my memo text to
export to Excel.
I note that there is no such limit when exporting to RTF, but I need
the Excel format.

Any help would be much appreciated, apologies if this has already been
discussed and answered.

Dec 2 '05 #1
8 13191
Does this article help:
Memo Field Truncated When Report Is Output to Excel
at:
http://support.microsoft.com/default...b;en-us;208801
It suggests specifying a more recent Excel format.

If that doesn't help, does the query itself show more than 255 characters?

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Taffman" <Da**********@gmail.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
I've searched this goup for an answer to this, there are many
discussions that come close but non that I can find that actually
addresses this particular problem.

I'm exporting queries to Excel. These queries have memo fields in them
Each memo field is trunkated, i.e cuts off after 255 characters.

Is there any way either via VBA or otherwise to get all my memo text to
export to Excel.
I note that there is no such limit when exporting to RTF, but I need
the Excel format.

Any help would be much appreciated, apologies if this has already been
discussed and answered.

Dec 2 '05 #2
"Allen Browne" <Al*********@SeeSig.Invalid> wrote in
news:43**********************@per-qv1-newsreader-01.iinet.net.au:
Does this article help:
Memo Field Truncated When Report Is Output to Excel
at:
http://support.microsoft.com/default...b;en-us;208801
It suggests specifying a more recent Excel format.

If that doesn't help, does the query itself show more than 255
characters?


I ran onto this problem the other day exporting to tab-delimited
text (for import into a MySQL database on a website). I discovered
something new about saved export specs, that the column types are
there, but hidden, like with hidden columns in datasheets. By
default the export spec datasheet lists only If you put your mouse
cursor over the right-hand edge of the single field name column and
drag, you can open up the other columns (the ones you'd see in an
import spec). Actually, you have to put the mouse over to the right,
a bit away from the edge of the single column header. With fiddling
around like this, you can eventually see the data type column, and
you'll see that it's likely set to TEXT instead of to MEMO.

An esier way of fixing this is to do an export, then start an import
from what you've just exported. Load the saved export spec, and
you'll be able to see the data types more easily there (without
having to futz with datasheet column widths). Change the relevant
columns to memo and save the spec, and then the export spec should
work properly, as well.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Dec 2 '05 #3

David W. Fenton wrote:
I ran onto this problem the other day exporting to tab-delimited
text (for import into a MySQL database on a website). I discovered
something new about saved export specs, that the column types are
there, but hidden, like with hidden columns in datasheets. By
default the export spec datasheet lists only If you put your mouse
cursor over the right-hand edge of the single field name column and
drag, you can open up the other columns (the ones you'd see in an
import spec). Actually, you have to put the mouse over to the right,
a bit away from the edge of the single column header. With fiddling
around like this, you can eventually see the data type column, and
you'll see that it's likely set to TEXT instead of to MEMO.

An esier way of fixing this is to do an export, then start an import
from what you've just exported. Load the saved export spec, and
you'll be able to see the data types more easily there (without
having to futz with datasheet column widths). Change the relevant
columns to memo and save the spec, and then the export spec should
work properly, as well.


I am very keen to understand the suggestion that you outline above,
David, but I don't follow what you mean by an "export spec". Could you
please explain?

Thank you,

Oliver
oliverjames at mailinator dot com

Dec 14 '05 #4
In addition to what others have suggested, here are some things
to try:

Remove the DISTINCT keyword from the query (if a query is used)
Remove functions from Memo Field columns in query
{don't use Nz(MyMemo) or IIF() or any functions}
Remove Format property value from Memo field in Query
If it still truncates, remove Format property from all columns

Personally, I can't explain why any of these would help, but they do.
--
Danny J. Lesandrini
dl*********@hotmail.com
http://amazecreations.com/datafast
"Taffman" <Da**********@gmail.com> wrote ...
I've searched this goup for an answer to this, there are many
discussions that come close but non that I can find that actually
addresses this particular problem.

I'm exporting queries to Excel. These queries have memo fields in them
Each memo field is trunkated, i.e cuts off after 255 characters.

Is there any way either via VBA or otherwise to get all my memo text to
export to Excel.
I note that there is no such limit when exporting to RTF, but I need
the Excel format.

Any help would be much appreciated, apologies if this has already been
discussed and answered.

Dec 14 '05 #5
Success!

I removed the functions from the memo field (as suggested by Danny)
AND
I specified the Excel format as 97-2002 (using the File Export menu
choice) (as suggested by Microsoft, referenced by Allen)
THEN
it did not truncate.

(I was not using the DISTINCT keyword or any format properties.)

However, I would still be interested to know more about the Export
specs that Mark referred to.

Cheers,

Oliver

Danny J. Lesandrini wrote:
In addition to what others have suggested, here are some things
to try:

Remove the DISTINCT keyword from the query (if a query is used)
Remove functions from Memo Field columns in query
{don't use Nz(MyMemo) or IIF() or any functions}
Remove Format property value from Memo field in Query
If it still truncates, remove Format property from all columns

Personally, I can't explain why any of these would help, but they do.
--
Danny J. Lesandrini
dl*********@hotmail.com
http://amazecreations.com/datafast


Dec 14 '05 #6
"oliver james" <ol*********@mailinator.com> wrote in
news:11**********************@g47g2000cwa.googlegr oups.com:
David W. Fenton wrote:
I ran onto this problem the other day exporting to tab-delimited
text (for import into a MySQL database on a website). I
discovered something new about saved export specs, that the
column types are there, but hidden, like with hidden columns in
datasheets. By default the export spec datasheet lists only If
you put your mouse cursor over the right-hand edge of the single
field name column and drag, you can open up the other columns
(the ones you'd see in an import spec). Actually, you have to put
the mouse over to the right, a bit away from the edge of the
single column header. With fiddling around like this, you can
eventually see the data type column, and you'll see that it's
likely set to TEXT instead of to MEMO.

An esier way of fixing this is to do an export, then start an
import from what you've just exported. Load the saved export
spec, and you'll be able to see the data types more easily there
(without having to futz with datasheet column widths). Change the
relevant columns to memo and save the spec, and then the export
spec should work properly, as well.


I am very keen to understand the suggestion that you outline
above, David, but I don't follow what you mean by an "export
spec". Could you please explain?


Look it up in the Help file.

If you have problems after trying to work it ou on your own, then
post back to the newsgroup.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Dec 14 '05 #7

David W. Fenton wrote:

I am very keen to understand the suggestion that you outline
above, David, but I don't follow what you mean by an "export
spec". Could you please explain?


Look it up in the Help file.

If you have problems after trying to work it ou on your own, then
post back to the newsgroup.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/


I had tried to find it in the Help file, but had finally given up.
However your message gave me hope and I did eventually get there! I
never imagined, however, how convoluted it would be to run the Text
export wizard - shouldn't there be a direct option from a menu?!

Cheers,

Oliver

Dec 20 '05 #8
"oliver james" <ol*********@mailinator.com> wrote in
news:11**********************@g14g2000cwa.googlegr oups.com:
David W. Fenton wrote:
> I am very keen to understand the suggestion that you outline
> above, David, but I don't follow what you mean by an "export
> spec". Could you please explain?


Look it up in the Help file.

If you have problems after trying to work it ou on your own, then
post back to the newsgroup.


I had tried to find it in the Help file, but had finally given up.
However your message gave me hope and I did eventually get there!
I never imagined, however, how convoluted it would be to run the
Text export wizard - shouldn't there be a direct option from a
menu?!


It doesn't seem convoluted to me.

And, so far as I can see, there *is* a pretty direct method for
getting there, from the FILE menu.

I'm not sure how much more direct it could be.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Dec 20 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: gevayl | last post by:
Hi, Is it possible to do memo text formating in ms access 2000? I mean like underlining a portion of text in a memo field or a text field? Thank you.
1
by: mail2atulmehta | last post by:
Hi, I do not know if this is right place for this, but i need some help. I have a text file, whose values are seprated by a delimiter. I want to open this file in excel, ( not import it) . I have...
0
by: Max Mayer | last post by:
Hello everybody, I have implemented a windows form in C# .NET to export data from a listbox to Excel. I work on a Windows XP machine with Office 97 and .NET framework 1.1 SDK installed. I use...
0
by: Max Mayer | last post by:
Hello everybody, I have implemented a windows form in C# .NET to export data from a listbox to Excel. I work on a Windows XP machine with Office 97 and .NET framework 1.1 SDK installed. I use...
0
by: arnab | last post by:
Dear All, I have a code which does Excel Export using ASP.NET Content disposition. The whole code works fine and opens up a dialog box to open,save when i click on the export button. If i save the...
2
by: gokulin | last post by:
Hi All, I am writing an ASP.NET application in C# (an Application integrated and communicates with MS CRM) with Excel Export and Import options. The user of the system exports data from the...
6
by: Sergio E. | last post by:
Hi, I'm looking for information about gridview's cell properties... I've the following case: one gridview with alternatirg row style and normalrowstyle, 3 o 4 custom styles that are applied to...
6
by: Ned1966 | last post by:
I want to automatically date stamp a memo/text box when i click a combo box. i know how to start the code bulider in the event properties of the combo box and get it to select the memo/text box i.e...
1
by: cdonham | last post by:
When displaying a Memo Text field in a report using SQL Reporting Services the hidden Controls such as fonts margins, etc also show. When doing the same task in Crystal Reports, I convert the Memo...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.