Question

Memo fields displays only 255 characters

Asked by: polaatx

I have field in an Access 2002 database that is set to "memo" because it contains large amounts of text.

However, when I display the contents of the field on the web (using ASP vbscript) only 255 characters show up.

Here's an example: http://www.ihea.info/pages/details.asp?pubID=8

The paragraph "contents" stops at the word "thickening" even though there's more text inside the database field.

What could be wrong?

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2004-04-03 at 21:30:55ID20942781
Tags

asp

,

memo

Topic

Microsoft Access Database

Participating Experts
2
Points
250
Comments
16

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Memo
    How much data can you store into a memo field of a database? What is the maximum size of a database (mdb)? Please help
  2. Memo Field
    Greetings, I use "Response.Write" to write the data from Access 2000 database to ASP. There's a memo field and I do not want write all the data(Memo field) to the ASP. Say only wirte the first 100 characters of the memo field to the ASP. Is it possible to do it? T...
  3. memo
    i have a table item_cde desc1 desc2 desc3 now i want to put this info into another table whic is like this item_cde desc and the desc will memo field and it will contain data from fields desc1.desc2,desc3 how do i doit how to insert data from fields into memo field
  4. Access Memo Field is truncated at 255 characters
    When I try to retrieve a memo field from access and display it in an asp page, it is truncated at 255 characters. Does anyone know the reason for this?

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: jmcraigPosted on 2004-04-03 at 23:32:31ID: 10751081

If the Acces database is passing the memo field to a string variable on the ASP page then the limit is determined by the ASP page. Since a string variable can only hold 255 charcters by default then your memo field is still being truncated/cut.

Try these lines of code

Dim strMemoFieldData
strMemoFieldData = Space(1200)

You can then pass the Memo field data into the variable "strMemoFieldData"

 

by: jjafferrPosted on 2004-04-04 at 01:07:17ID: 10751257

Hi polaatx,

I think you are passing the data from your Table to ASP through a query,
in the query you have done grouping,
if grouping is used, it will ONLY get 255 characters.
So the way around this is to read your data from the Table after filtering it.

Hope this helps

Jaffer

 

by: polaatxPosted on 2004-04-04 at 10:16:07ID: 10752548

Jaffer, I am not sure my problem is what you describe or what jmcraig describes , or both.

Regarding your solution. Yes there was grouping done.

Here's my SQL right now:

SELECT *
FROM qryDetails
WHERE PubID = MMColParam

If you understand you correctly, it would be something like:

SELECT qryDetails.*, tblBrochures.description
From qryDetails, tblBrochures
WHERE PubID = MMColParam

but when I put this into Dreamweaver's Recordset wizard, Dreamweaver just takes out the mention of tblBrochures.description automatically because I guess it assumes it is already part of query.

Below is the SQL in the query. Can you please help me figure out what kind SQL to give Dreamweaver to incorporate your solution?

SELECT tblBrochures.PubID, tblBrochures.HardCopyAvailable, tblBrochures.PubCode, tblBrochures.PublicationPending, tblBrochures.Activation, tblLanguages.LanguageName, tblTitle.TitleName, tblSpecialPopulation.SpecialPopulation, tblDisease.DiseaseName, tblCreationStatement.creationStatement, tblTitle.description, tblBrochures.pdfLocation, tblBrochures.thumbnail, tblBrochures.DonationPriceSchedule, tblBrochures.DownloadAvailable, tblBrochures.Description, tblBrochures.PubDate, tblBrochures.RevisionDate, tblTitle.OriginalBrochureID, tblDownloadDonation.PriceUnder10, tblDownloadDonation.Price100, tblDownloadDonation.Price250, tblDownloadDonation.Price500, tblDownloadDonation.Price1000, tblDownloadDonation.Price5000
FROM tblDownloadDonation RIGHT JOIN ((tblCreationStatement RIGHT JOIN (tblLanguages RIGHT JOIN (tblTitle RIGHT JOIN (tblSpecialPopulation RIGHT JOIN tblBrochures ON tblSpecialPopulation.SpecialID = tblBrochures.SpecialPopID) ON tblTitle.titleID = tblBrochures.Title) ON tblLanguages.LanguageID = tblBrochures.LanguageID) ON tblCreationStatement.statementID = tblTitle.creationStatement) LEFT JOIN (tblDisease RIGHT JOIN tblTitleDisease ON tblDisease.DiseaseID = tblTitleDisease.DiseaseID) ON tblTitle.titleID = tblTitleDisease.TitleID) ON tblDownloadDonation.DonationID = tblBrochures.DonationPriceSchedule
GROUP BY tblBrochures.PubID, tblBrochures.HardCopyAvailable, tblBrochures.PubCode, tblBrochures.PublicationPending, tblBrochures.Activation, tblLanguages.LanguageName, tblTitle.TitleName, tblSpecialPopulation.SpecialPopulation, tblDisease.DiseaseName, tblCreationStatement.creationStatement, tblTitle.description, tblBrochures.pdfLocation, tblBrochures.thumbnail, tblBrochures.DonationPriceSchedule, tblBrochures.DownloadAvailable, tblBrochures.Description, tblBrochures.PubDate, tblBrochures.RevisionDate, tblTitle.OriginalBrochureID, tblDownloadDonation.PriceUnder10, tblDownloadDonation.Price100, tblDownloadDonation.Price250, tblDownloadDonation.Price500, tblDownloadDonation.Price1000, tblDownloadDonation.Price5000;

 

by: polaatxPosted on 2004-04-04 at 10:21:20ID: 10752576

jmcraig,

How would I pass the Memo field data into the variable "strMemoFieldData"?

I tried the following, but got a "name redefined" asp error:

<%Dim strMemoFieldData
strMemoFieldData = Space(1200)

strMemoFieldData =(rsDetails.Fields.Item("tblBrochures.Description").Value)
%>

 

by: jjafferrPosted on 2004-04-04 at 12:33:41ID: 10753071

polaatx
At least I know you have a problem from the query, as grouping will truncate the memo field to 255 characters.
let me guide you to another similar question.
There you will find at least 2 answers, 1 from me for using the Dlookup, and the other from nico5038,

My solution:
1- Don't read this memo field from the query,
2- in the control source of the memo field in the Report, use the Dlookup function (place the "where" conditions here) to get the memo info and use CanGrow too,

http://www.experts-exchange.com/Databases/MS_Access/Q_20898838.html

I hope this helps you further.

jaffer

 

by: jmcraigPosted on 2004-04-04 at 12:50:11ID: 10753115

Paste the code on the page up to the troublesome paragraph + 10 additional lines and I will take a look

 

by: polaatxPosted on 2004-04-04 at 13:07:47ID: 10753184

jmcraig,

Here's the code:

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>

<!--#include file="../Connections/IHEA2.asp" -->
<%
Dim rsDetails__MMColParam
rsDetails__MMColParam = "1"
If (Request.QueryString("PubID") <> "") Then
  rsDetails__MMColParam = Request.QueryString("PubID")
End If
%>
<%
Dim rsDetails
Dim rsDetails_numRows

Set rsDetails = Server.CreateObject("ADODB.Recordset")
rsDetails.ActiveConnection = MM_IHEA2_STRING
rsDetails.Source = "SELECT * FROM qryDetails WHERE PubID = " + Replace(rsDetails__MMColParam, "'", "''") + ""
rsDetails.CursorType = 0
rsDetails.CursorLocation = 2
rsDetails.LockType = 1
rsDetails.Open()

rsDetails_numRows = 0
%>
<%
Dim rsResults__mmreg
rsResults__mmreg = "3000"
If (request.querystring("reg") <> "") Then
  rsResults__mmreg = request.querystring("reg")
End If
%>
<%
Dim rsResults__mmdis
rsResults__mmdis = "3000"
If (request.querystring("sub")  <> "") Then
  rsResults__mmdis = request.querystring("sub")
End If
%>
<%
Dim rsResults__mmlang
rsResults__mmlang = "3000"
If (request.querystring("lang")  <> "") Then
  rsResults__mmlang = request.querystring("lang")
End If
%>
<%
Dim rsResults__mmspecpop
rsResults__mmspecpop = "3000"
If (request.querystring("spec")  <> "") Then
  rsResults__mmspecpop = request.querystring("spec")
End If
%>
<%
Dim rsResults
Dim rsResults_numRows

Set rsResults = Server.CreateObject("ADODB.Recordset")
rsResults.ActiveConnection = MM_IHEA2_STRING
rsResults.Source = "SELECT tblBrochures.PubID, tblBrochures.Activation, tblBrochures.PublicationPending, Count(tblDisease.DiseaseName) AS CountOfDiseaseName, Max(tblDisease.DiseaseName) AS MaxOfDiseaseName, tblLanguages.LanguageName, tblLanguages.LanguageID, Max(tblTitle.TitleName) AS MaxOfTitleName, Count(TblRegion.RegID) AS CountOfRegID, Count(TblDisease.DiseaseID) AS CountOfDiseaseID, Max(TblRegion.Region) AS MaxOfRegion, tblSpecialPopulation.SpecialID, Max(tblSpecialPopulation.SpecialPopulation) AS MaxOfSpecialPopulation, tblBrochures.DownloadAvailable, tblBrochures.HardCopyAvailable  FROM ((TblRegion RIGHT JOIN (((tblTitle RIGHT JOIN (tblLanguages RIGHT JOIN tblBrochures ON tblLanguages.LanguageID = tblBrochures.LanguageID) ON tblTitle.titleID = tblBrochures.Title) LEFT JOIN tblSpecialPopulation ON tblBrochures.SpecialPopID = tblSpecialPopulation.SpecialID) LEFT JOIN tblLanguageRegion ON tblLanguages.LanguageID = tblLanguageRegion.LanguageID) ON TblRegion.RegID = tblLanguageRegion.RegionID) LEFT JOIN tblDiseaseTitle ON tblTitle.titleID = tblDiseaseTitle.TitleID) LEFT JOIN tblDisease ON tblDiseaseTitle.DiseaseID = tblDisease.DiseaseID  WHERE TblRegion.RegID=" + Replace(rsResults__mmreg, "'", "''") + " or TblDisease.DiseaseID=" + Replace(rsResults__mmdis, "'", "''") + " or tblLanguages.LanguageID=" + Replace(rsResults__mmlang, "'", "''") + " or tblSpecialPopulation.SpecialID=" + Replace(rsResults__mmspecpop, "'", "''") + "  GROUP BY tblBrochures.PubID, tblBrochures.Activation, tblBrochures.PublicationPending, tblLanguages.LanguageName, tblLanguages.LanguageID, tblSpecialPopulation.SpecialID, tblBrochures.DownloadAvailable, tblBrochures.HardCopyAvailable  ORDER BY tblLanguages.LanguageName;"
rsResults.CursorType = 0
rsResults.CursorLocation = 2
rsResults.LockType = 1
rsResults.Open()

rsResults_numRows = 0
%>

<%
Dim Repeat1__numRows
Dim Repeat1__index

Repeat1__numRows = -1
Repeat1__index = 0
rsResults_numRows = rsResults_numRows + Repeat1__numRows
%>
<%
Dim rsAllTitles
Dim rsAllTitles_numRows

Set rsAllTitles = Server.CreateObject("ADODB.Recordset")
rsAllTitles.ActiveConnection = MM_IHEA2_STRING
rsAllTitles.Source = "SELECT LanguageID, LanguageName  FROM tblLanguages  ORDER BY LanguageName"
rsAllTitles.CursorType = 0
rsAllTitles.CursorLocation = 2
rsAllTitles.LockType = 1
rsAllTitles.Open()

rsAllTitles_numRows = 0
%>

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>

<%Dim strMemoFieldData
strMemoFieldData = Space(1200)

strMemoFieldData =(rsDetails.Fields.Item("tblBrochures.Description").Value)
%>
<%
Dim rsDetails__MMColParam
rsDetails__MMColParam = "1"
If (Request.QueryString("PubID") <> "") Then
  rsDetails__MMColParam = Request.QueryString("PubID")
End If
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>IHEA: International Health Education Alliance</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
@import url(styles_IHEA.css);

-->
</style>

<SCRIPT LANGUAGE="javascript" SRC="scripts.js"></SCRIPT>

</head>

<body id="detailspage" onload="setBottom(self.screen.availHeight)"><!-- #BeginLibraryItem "/Library/masthead.lbi" -->
<div id="masthead"> <span><a href="../Library/home.asp"><img src="../images/logo/banner1.gif" alt="IHEA Homepage" width="450" height="70" border="0"></a></span>
<div id="menu">
<ul>
<li><a href="home.asp">Home </a></li>
<li><a href="mission.asp">About Us </a></li>
<li><a href="development.asp">Our Work </a></li>
<li><a href="support.asp">Support IHEA </a></li>
<li><a href="contact.asp">Contact Us </a></li>
<li><a href="emailupdates.asp">Email Updates</a></li>
</ul>
</div></div><!-- #EndLibraryItem --><div id="container">
<div id="sidebar">

<!--#include file = "forminclude.asp" -->
<hr color="#999" width="95%">
</div>
<div id="maincontent"><br>

<% 'if IsNUll (rsDetails.Fields.Item("thumbnail").Value) then%><%'else%>
<%'end if%>
<p><span class="header">Title: </span><%=(rsDetails.Fields.Item("TitleName").Value)%></p>
<p><span class="header">Language: </span><%=(rsDetails.Fields.Item("LanguageName").Value)%></p>
<p><span class="header">Subject: </span><%=(rsDetails.Fields.Item("DiseaseName").Value)%></p>
<p><span class="header">Contents: </span>
<% if IsNull(rsDetails.Fields.Item("tblBrochures.Description").Value) then
response.write(rsDetails.Fields.Item("tblTitle.Description").Value) & "</p>"
else
response.write(rsDetails.Fields.Item("tblBrochures.Description").Value) & "</p>"
end if %>
</p>

 

by: polaatxPosted on 2004-04-04 at 13:12:02ID: 10753205

jjafferr, thanks for your help. I checked out the link. The other quesiton has to do with pulling the data inside Access. I am not creating a report. I am pulling data from Access using ASP vbscript and displaying it on the web. So I guess I have to mess with my SQL to get the data directly from the table. my SQL appears below. I don't know if you can help in any way figure out how to alter it so I get the value fro tblBrochures.Description directly from the table.

rsResults.Source = "SELECT tblBrochures.PubID, tblBrochures.Activation, tblBrochures.PublicationPending, Count(tblDisease.DiseaseName) AS CountOfDiseaseName, Max(tblDisease.DiseaseName) AS MaxOfDiseaseName, tblLanguages.LanguageName, tblLanguages.LanguageID, Max(tblTitle.TitleName) AS MaxOfTitleName, Count(TblRegion.RegID) AS CountOfRegID, Count(TblDisease.DiseaseID) AS CountOfDiseaseID, Max(TblRegion.Region) AS MaxOfRegion, tblSpecialPopulation.SpecialID, Max(tblSpecialPopulation.SpecialPopulation) AS MaxOfSpecialPopulation, tblBrochures.DownloadAvailable, tblBrochures.HardCopyAvailable  FROM ((TblRegion RIGHT JOIN (((tblTitle RIGHT JOIN (tblLanguages RIGHT JOIN tblBrochures ON tblLanguages.LanguageID = tblBrochures.LanguageID) ON tblTitle.titleID = tblBrochures.Title) LEFT JOIN tblSpecialPopulation ON tblBrochures.SpecialPopID = tblSpecialPopulation.SpecialID) LEFT JOIN tblLanguageRegion ON tblLanguages.LanguageID = tblLanguageRegion.LanguageID) ON TblRegion.RegID = tblLanguageRegion.RegionID) LEFT JOIN tblDiseaseTitle ON tblTitle.titleID = tblDiseaseTitle.TitleID) LEFT JOIN tblDisease ON tblDiseaseTitle.DiseaseID = tblDisease.DiseaseID  WHERE TblRegion.RegID=" + Replace(rsResults__mmreg, "'", "''") + " or TblDisease.DiseaseID=" + Replace(rsResults__mmdis, "'", "''") + " or tblLanguages.LanguageID=" + Replace(rsResults__mmlang, "'", "''") + " or tblSpecialPopulation.SpecialID=" + Replace(rsResults__mmspecpop, "'", "''") + "  GROUP BY tblBrochures.PubID, tblBrochures.Activation, tblBrochures.PublicationPending, tblLanguages.LanguageName, tblLanguages.LanguageID, tblSpecialPopulation.SpecialID, tblBrochures.DownloadAvailable, tblBrochures.HardCopyAvailable  ORDER BY tblLanguages.LanguageName;"

 

by: jmcraigPosted on 2004-04-04 at 14:51:09ID: 10753572

Replace the code at the bottom of the section you posted that reads thus;

<p><span class="header">Contents: </span>
<% if IsNull(rsDetails.Fields.Item("tblBrochures.Description").Value) then
response.write(rsDetails.Fields.Item("tblTitle.Description").Value) & "</p>"
else
response.write(rsDetails.Fields.Item("tblBrochures.Description").Value) & "</p>"
end if %>
</p>


With code that reads so;

<p><span class="header">Contents: </span>
<% if IsNull(strMemoFieldData) then
response.write(rsDetails.Fields.Item("tblTitle.Description").Value) & "</p>"
else
response.write(strMemoFieldData) & "</p>"
end if %>
</p>


Hope fully this should set things right just as a precaution you may want to replace any occurrences of

rsDetails.Fields.Item("tblTitle.Description").Value

with

strMemoFieldData


Joshua




 

by: polaatxPosted on 2004-04-04 at 19:13:24ID: 10754447

Joshua, thanks for your reply.

First, I realized that the record I am interested in showing is the (rsDetails.Fields.Item("tblTitle.Description").Value),
not (rsDetails.Fields.Item("tblBrochures.Description").Value)

So I reversed what you gave me and put this on top of the page:

<%Dim strMemoFieldData
strMemoFieldData = Space(1200)
strMemoFieldData = (rsDetails.Fields.Item("tblTitle.Description").Value)
%>

And put this in the bottom:
<p><span class="header">Contents: </span>
<% if IsNull(rsDetails.Fields.Item("tblBrochures.Description").Value)  then
response.write (strMemoFieldData)  & "</p>"
else
response.write(rsDetails.Fields.Item("tblBrochures.Description").Value)  & "</p>"
end if %>
</p>

But it is still not showing more than 255 characters.

Here's the page as it appears on the web: http://www.ihea.info/pages/details.asp?pubID=41

What else could be wrong? Could the problem also be because it is grouped in a query, like jjafferr says?

I am leaving for Mexico first thing in morning. But i will check email from internet cafes and hopefully somehow try to implement any other solutions you might have. (Maybe I can use notepad to edit pages and then ftp it up using IE, I don't know) Thanks a bunch.

 

by: jjafferrPosted on 2004-04-04 at 20:34:01ID: 10754669

polaatx
It is very simple to check if the problem IS from the query, just open the qery and run it, then count your characters in it.
Away to go about this is to split the memo field into many 255 character fields, this is what I did to one of our Reports which was taking the value from such a query,
In the quey, assuming your field name is Contents, place each of the following lines in a field by itself:
Contents1: mid([Contents],1,255)
Contents2: mid([Contents],256,511)
Contents3: mid([Contents],512,767)
Contents4: mid([Contents],768,1023)
Contents5: mid([Contents],1024,1279)
Contents6: mid([Contents],1280,1535)
Contents7: mid([Contents],1536,1791)
Contents8: mid([Contents],1792,2047)
Contents9: mid([Contents],2048,2303)
Contents10: mid([Contents],2304,2559)

In order for you to be safe, you have to make you contentsNN bigger than a maximum number that you can use,
If the the values do not exist for the rest, you will have NULL/Empty value which will not hurt your calculations/formula,
the last thing you should do in your ASP (not in the query, but where you take the quey results to), put the ContenetsNN together/Concatenate like this (depending on how ASP does it):
Contents=Contents1 + Contents2 + Contents3 + Contents4 + Contents5 + Contents6......
OR
Contents=Contents1 & Contents2 & Contents3 & Contents4 & Contents5 & Contents6...

So what is happening here is,
we took the maximum characters of Contents the query gives for each filed,
then put them together in ASP

I hope this helps,

jaffer

 

by: jjafferrPosted on 2004-05-20 at 08:38:30ID: 11118309

Hi Jack
My last comment will work.
Well, since I was new to Access, I faced this problem and solved it this way, and it is in use for more than 2 years already in our office application.
I am working on an update, so this will be tackeled differently.

thanks

jaffer

 

by: jjafferrPosted on 2004-05-20 at 08:52:48ID: 11118459

Thanks buddy, I already feel better.

Aren't you suppose to wear your Admin hat and say this ;o)

jaffer

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...