473,473 Members | 1,886 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Word truncates Memo field when using Automation from Access

I am using Automation in Access 2003 to open a Word Document and fill
in some values using bookmarks. It all works perfectly except for one
section.

I am filling in some values in a previously created Word Table, and the
memo fields are truncating to 255 characters. If I "manually" copy the
memo field into the Table, it has no problem accepting more than 255
characters.

Any suggestions on how to resolve this?

thank you!

Nov 13 '05 #1
3 2574
Hum, this is just a guess, but it probably has to do with your query.
I have found that SELECT DISTINCT converts Memo fields to text fields,
hence truncating to 255 characters. Any time a Group By is used in a
query the Memo fields are converted to text fields.... I hope you find
your problem.

Nov 13 '05 #2
You are absolutely right - I was using "distinct" in the query, and
didn't know that causes Memo fields to truncate. This may also solve
some other long-standing mysteries!

Thank you very much!

*** Sent via Developersdex http://www.developersdex.com ***
Nov 13 '05 #3
Laurie Almoslino <la****@pcdatabasesolutions.com> wrote in
news:92**************@news.uswest.net:
You are absolutely right - I was using "distinct" in the query,
and didn't know that causes Memo fields to truncate. This may
also solve some other long-standing mysteries!


No, that has nothing to do with it.

I've encountered the same problem within Access, but triggered by
concatenating memo fields.

I think it's an inherent flaw in DAO and the inner workings of
Access.

The only workaround I found was to do the concatenation in the Word
file, which resulted in extra spaces, but that isn't a problem
because the destination is a web page, where HTML treats any white
space the same (one space is rendered as one space, two spaces are
rendered as one space, and so forth).

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 13 '05 #4

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

Similar topics

5
by: NotGiven | last post by:
WHen I use php's mail() function, the recipient sees the hosting userID - NOT GOOD!. Are there any settings I can change or code it a different way? Thanks.
1
by: Bob | last post by:
I have an application written in Access 97 that connects to a SQL2000 backend. One field is a description field that is a data type NTEXT in the SQL database. In my access form, I can not enter...
1
by: ivan | last post by:
Access 97 I have a memo field in a footer on a subform. When I print the form, all data is printed except the data that was entered into the memo field. The memo field itself is printed (the...
8
by: skinnybloke | last post by:
Hi - I have a problem with a memo field being truncated to about 255 characters when running a Access 2002 query. This only seems to happen if I use SELECT DISTINCT. It works ok using SELECT by...
4
by: Anna | last post by:
Hi all, I have a query in ASP.NET that selects text from a memo field in Access (among other things). The query appears to be truncating the text at 255 characters. I've done a little research...
0
by: Scott Van | last post by:
Hello- I am trying to create an Access table using DDL that has a memo field. I have the syntax to create the memo field but I can't find the syntax to also set whether the memo field should...
5
by: jhcorey | last post by:
We're using a third-party treeview and found that the functionality we need works only when we set the web site security to allow Anonymous Access. We also need the user's network id, which we...
2
by: cherylwalsh35 | last post by:
I am working in access - using a select Query. I am including a memo field. The table has all of the data in the memo field displayed - however when I run a select query and include the memo...
0
by: Sandra Osorio | last post by:
Am Using MS Access and got a field which uses a drop list (yes/no field). When I select the “No” option, I’d like to jump into a different field (The name of this field is “fumaba”). How can I jump...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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,...
1
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...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.