UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Memo Field in Report - SOS!    
 
   
TechMan
post Mar 21 2007, 09:26 AM
Post #1

UtterAccess Veteran
Posts: 393



I have a recurring problem I've been unable to solve. I have a "Comments" section in a table. The data type is MEMO. When I feed the data (bound to a temp table) to the report, the comments Don't Appear. Can anyone tell me why this is happening and how to fix this. All table data type properties are set to Memo. The comments are the most important part of this particular report. Looking for a fix ASAP please!
Go to the top of the page
 
+
TechMan
post Mar 21 2007, 09:44 AM
Post #2

UtterAccess Veteran
Posts: 393



Shown below is the value I'm getting in the comments section. that's it. There should be two paragraphs of text there. What is this?

섀
Go to the top of the page
 
+
RAZMaddaz
post Mar 21 2007, 09:50 AM
Post #3

UtterAccess VIP
Posts: 6,171
From: Bethesda, MD USA



Are you importing the data from somewhere into the table and the field? Or are you typing in the data directly to the field?

Is that view a report view or is that what it shows in the actual field and cell in the Table?

Edited by: RAZMaddaz on Wed Mar 21 10:55:07 EDT 2007.
Go to the top of the page
 
+
TechMan
post Mar 21 2007, 09:59 AM
Post #4

UtterAccess Veteran
Posts: 393



I am creating the temp table on the fly using SQL and capturing data elements from several perm tables. Everything in this procedure works great, except this. The value I get is what actually shows up in the temp table, thus the comments are not making the transition to the temp table even prior to hitting the report. So I guess we can rule out for now report properties.
Go to the top of the page
 
+
RAZMaddaz
post Mar 21 2007, 10:04 AM
Post #5

UtterAccess VIP
Posts: 6,171
From: Bethesda, MD USA



So the data you are getting is from several "perm tables." What field(s) of which "perm table" are you trying to get this comments data from? Any what "data type" is that field?
Go to the top of the page
 
+
TechMan
post Mar 21 2007, 10:24 AM
Post #6

UtterAccess Veteran
Posts: 393



The base data types and all intermediate data types for this field are "memo". Does it matter if a crosstab query is involved...because it is.
Go to the top of the page
 
+
RAZMaddaz
post Mar 21 2007, 10:39 AM
Post #7

UtterAccess VIP
Posts: 6,171
From: Bethesda, MD USA



Sometimes crosstab queries can be a problem, but I don't know whether it is here...yet. Two suggestions: 1. Create a basic Select Query where the source is the crosstab query you created. Then base the report off the new query. 2. Sometimes when you create a crosstab query, in order for another query or even a report to see the new columns, you need to in the Properties area of the crosstab query add the "Column Headings" names. Enter the names that you want to see in the query and seperate each one by a comma.

By the way, you might want to attach your database/file, so one can take a look at it. Delete all private data first though!!!

Edited by: RAZMaddaz on Wed Mar 21 11:45:24 EDT 2007.
Go to the top of the page
 
+
RAZMaddaz
post Mar 21 2007, 12:52 PM
Post #8

UtterAccess VIP
Posts: 6,171
From: Bethesda, MD USA



Any luck yet?
Go to the top of the page
 
+
TechMan
post Mar 22 2007, 08:40 AM
Post #9

UtterAccess Veteran
Posts: 393



My Report is bound direct to a TempTable. It's the query process that screwing with the memo field properties. I now have the text displaying but it is now truncating at 255 characters. The text in the TempTable is fine. Somehow, the report recordsource (tempTable) loses the comments "memo" data type when displaying the field in the report footer. Any additional ideas? Anyone?
Go to the top of the page
 
+
balaji
post Mar 22 2007, 02:14 PM
Post #10

UtterAccess VIP
Posts: 5,635
From: Chicagoland, USA



What is the controlsource of the control that holds the memo field from the table? You may be using one of several string functions on the memo that can cause it to get truncated to 255 characters.
Go to the top of the page
 
+
QualityMan_9000
post Mar 22 2007, 06:57 PM
Post #11

UtterAccess Addict
Posts: 136
From: Ohio



QUOTE
섀


I suspect that little square box represents some type of non-printable ASCII control character that could be causing your data to be truncated. I have seen some code around this forum somewhere that removes all non-printable characters from a string.

George
Go to the top of the page
 
+
truittb
post Mar 22 2007, 08:44 PM
Post #12

Retired Moderator
Posts: 13,544
From: Texas (Is there anywhere else?)



Crosstabs usually aggregate the data and when you aggregate a memo field it will truncate to 255 characters.
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 23rd May 2013 - 10:50 PM