PC Review


Reply
Thread Tools Rate Thread

Access to Excel problem...

 
 
=?Utf-8?B?ZGlvZmFuNTY=?=
Guest
Posts: n/a
 
      20th Feb 2006
Hi all!

I run a query in Access 2003 and save the results as an Excel file. There
is one field in the Access table that is a MEMO field. Depending on how much
information is in the MEMO field I may or may not see all of that information
in the Excel file.

How can I see the entire contents of the MEMO fields in Excel?

Thanks in advance for your help!
 
Reply With Quote
 
 
 
 
Ken Snell \(MVP\)
Guest
Posts: n/a
 
      20th Feb 2006
How are you exporting the query? If you're using File | Export process, that
will truncate. Use TransferSpreadsheet action in a macro or in VBA code
instead.

What is the SQL statement of the query? If you're using a GROUP BY clause
with the memo field, or you use a union query with UNION (instead of UNION
ALL), the memo field will be truncated.

Or if you're using a calculated field in the query (even if it's not on the
memo field), you'll get truncation. See these Knowledge Base articles for
info:

Exported Query Expression Truncated at 255 Characters
http://support.microsoft.com/default...b;en-us;207668

Exported Query Expression Truncated at 255 Characters
http://support.microsoft.com/default...b;en-us;178743


Workaround would be to create a temporary table for the data, append the
query to the temporary table, export the table, and then delete the
temporary table (or delete the records from the temporary table so that you
can reuse the table the next time).
--

Ken Snell
<MS ACCESS MVP>


--

Ken Snell
<MS ACCESS MVP>

"diofan56" <(E-Mail Removed)> wrote in message
news:AA4EE88A-145B-4030-9212-(E-Mail Removed)...
> Hi all!
>
> I run a query in Access 2003 and save the results as an Excel file. There
> is one field in the Access table that is a MEMO field. Depending on how
> much
> information is in the MEMO field I may or may not see all of that
> information
> in the Excel file.
>
> How can I see the entire contents of the MEMO fields in Excel?
>
> Thanks in advance for your help!



 
Reply With Quote
 
Joseph Meehan
Guest
Posts: n/a
 
      20th Feb 2006
diofan56 wrote:
> Hi all!
>
> I run a query in Access 2003 and save the results as an Excel file.
> There is one field in the Access table that is a MEMO field.
> Depending on how much information is in the MEMO field I may or may
> not see all of that information in the Excel file.
>
> How can I see the entire contents of the MEMO fields in Excel?
>
> Thanks in advance for your help!


How much can it show. Memo fields can be very large, but I believe
there is a 255 character limit on an Excel cell.

--
Joseph Meehan

Dia duit


 
Reply With Quote
 
Ken Snell \(MVP\)
Guest
Posts: n/a
 
      21st Feb 2006
"Joseph Meehan" <(E-Mail Removed)> wrote in message
news:PmsKf.161470$(E-Mail Removed)...
> diofan56 wrote:
>
> How much can it show. Memo fields can be very large, but I believe
> there is a 255 character limit on an Excel cell.


Joseph -

An EXCEL cell is limited to 255 characters only if its format is set to Text
(if you put in more than 255 characters in this situation, you'll just see #
characters in the cell).

If the format is General, it'll hold more than 65000 characters; however,
only about 1300 will display within the cell when viewing the spreadsheet;
but you can see the rest if you click in the cell and have the "formula bar"
visible.
--

Ken Snell
<MS ACCESS MVP>


 
Reply With Quote
 
Joseph Meehan
Guest
Posts: n/a
 
      21st Feb 2006
Ken Snell (MVP) wrote:
> "Joseph Meehan" <(E-Mail Removed)> wrote in message
> news:PmsKf.161470$(E-Mail Removed)...
>> diofan56 wrote:
>>
>> How much can it show. Memo fields can be very large, but I
>> believe there is a 255 character limit on an Excel cell.

>
> Joseph -
>
> An EXCEL cell is limited to 255 characters only if its format is set
> to Text (if you put in more than 255 characters in this situation,
> you'll just see # characters in the cell).
>
> If the format is General, it'll hold more than 65000 characters;
> however, only about 1300 will display within the cell when viewing
> the spreadsheet; but you can see the rest if you click in the cell
> and have the "formula bar" visible.


Thanks for the info. I will try to remember that.

--
Joseph Meehan

Dia duit


 
Reply With Quote
 
=?Utf-8?B?ZGlvZmFuNTY=?=
Guest
Posts: n/a
 
      21st Feb 2006
Thanks again for the replies! THey are greatly appreciated!

The query I use is a simple query. There are no UNIONs or VBA code or
anything like that. What I am doing is reporting the information to
supervisors. When I run the Query I go to the File menu, Send To, Mail
Recipient (as Attachment), and I select Excel 97 - 2003. The results of the
'conversion' are placed into a Lotus Notes email. At that point I edit the
spreadsheet to make sure all information is being shown. This is where I
notice the truncation.

Dave
================

"diofan56" wrote:

> Hi all!
>
> I run a query in Access 2003 and save the results as an Excel file. There
> is one field in the Access table that is a MEMO field. Depending on how much
> information is in the MEMO field I may or may not see all of that information
> in the Excel file.
>
> How can I see the entire contents of the MEMO fields in Excel?
>
> Thanks in advance for your help!

 
Reply With Quote
 
Ken Snell \(MVP\)
Guest
Posts: n/a
 
      21st Feb 2006
The Send To item on the menu will cause truncation because it's based on
EXCEL 95 format (which does not support more than 255 characters in a
string). You need to use TransferSpreadsheet method, as noted earlier. See
the Help file for info about it.
--

Ken Snell
<MS ACCESS MVP>


"diofan56" <(E-Mail Removed)> wrote in message
news:8493530B-D067-4A66-8039-(E-Mail Removed)...
> Thanks again for the replies! THey are greatly appreciated!
>
> The query I use is a simple query. There are no UNIONs or VBA code or
> anything like that. What I am doing is reporting the information to
> supervisors. When I run the Query I go to the File menu, Send To, Mail
> Recipient (as Attachment), and I select Excel 97 - 2003. The results of
> the
> 'conversion' are placed into a Lotus Notes email. At that point I edit
> the
> spreadsheet to make sure all information is being shown. This is where I
> notice the truncation.
>
> Dave
> ================
>
> "diofan56" wrote:
>
>> Hi all!
>>
>> I run a query in Access 2003 and save the results as an Excel file.
>> There
>> is one field in the Access table that is a MEMO field. Depending on how
>> much
>> information is in the MEMO field I may or may not see all of that
>> information
>> in the Excel file.
>>
>> How can I see the entire contents of the MEMO fields in Excel?
>>
>> Thanks in advance for your help!



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Started out as an Access problem. Now an Excel problem =?Utf-8?B?Um9iZXJ0TQ==?= Microsoft Excel Misc 2 26th Apr 2006 07:30 PM
Problem Opening Excel from Access through VBA when Excel has active cell kerry_ja@yahoo.com Microsoft Access VBA Modules 6 24th Apr 2006 08:38 PM
Problem Opening Excel from Access through VBA when Excel has active cell kerry_ja@yahoo.com Microsoft Access 1 21st Apr 2006 09:39 PM
Problem with export report in Excel - Problem Microsoft Access Lucio Microsoft Access Reports 0 12th Sep 2004 05:57 PM
Importing DBF in Access = PROBLEM, EXCEL = NO PROBLEM, Why ? Jürgen Germonpré Microsoft Access External Data 1 6th Nov 2003 09:30 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:00 PM.