473,624 Members | 2,534 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Strange Characters in Memo Boxes

I have a small database made up of 2 tables. I have a report that is
driven from a query. On the report are a couple of fields linked to
memo boxes in the table. Everytime I run the report I get the
following strange characters instead of data.

�_


These actually show us as square boxes and capital A's with a tilde
etc.

Does anyone have an idea as to what may be causing this.
Thanks Jim
Nov 13 '05 #1
3 2847
Jim Irvine wrote:
I have a small database made up of 2 tables. I have a report that is
driven from a query. On the report are a couple of fields linked to
memo boxes in the table. Everytime I run the report I get the
following strange characters instead of data.

�_


These actually show us as square boxes and capital A's with a tilde
etc.

Does anyone have an idea as to what may be causing this.


Do these show up in Print Preview? Only when you print? Perhaps they
are printer control codes. What type of printer are you using? Do you
have a recent print driver?

Nov 13 '05 #2
Salad <oi*@vinegar.co m> wrote in message news:<_A******* **********@news read2.news.pas. earthlink.net>. ..
Jim Irvine wrote:
I have a small database made up of 2 tables. I have a report that is
driven from a query. On the report are a couple of fields linked to
memo boxes in the table. Everytime I run the report I get the
following strange characters instead of data.

�_


These actually show us as square boxes and capital A's with a tilde
etc.

Does anyone have an idea as to what may be causing this.


Do these show up in Print Preview? Only when you print? Perhaps they
are printer control codes. What type of printer are you using? Do you
have a recent print driver?

Using Windows XP, Office XP latest drivers for our network printers
(Mostly HP4050 and 4100 and Lexmark W820). The Characters show on
print preview and also on the actual hard copy.
The Characters do not show when I look in the tables.
Nov 13 '05 #3
Jim Irvine wrote:
Salad <oi*@vinegar.co m> wrote in message news:<_A******* **********@news read2.news.pas. earthlink.net>. ..
Jim Irvine wrote:

I have a small database made up of 2 tables. I have a report that is
driven from a query. On the report are a couple of fields linked to
memo boxes in the table. Everytime I run the report I get the
following strange characters instead of data.

�_


These actually show us as square boxes and capital A's with a tilde
etc.

Does anyone have an idea as to what may be causing this.


Do these show up in Print Preview? Only when you print? Perhaps they
are printer control codes. What type of printer are you using? Do you
have a recent print driver?


Using Windows XP, Office XP latest drivers for our network printers
(Mostly HP4050 and 4100 and Lexmark W820). The Characters show on
print preview and also on the actual hard copy.
The Characters do not show when I look in the tables.


Next question. What font are you using? Are you using a TT font or
printer font? What happens if you change the font to Arial or
TimesRoman or CourrierNew?

Next question. Set it to a specific printer instead of default for a
test (File/PrinterSetup)

Also, create a new printer. Maybe something from HP via the control
panel and set the report to that printer temporarily.

For some odd reason the codes remind me of HTML code. Oh well

Next, try running some code similar to this in a module (database
window/modules). This will scan all the characters in the memo box and
see if they fall in the normal range of numbers, alphs, or crlfs.

Private Sum TestThisField()
Dim i As Integer
Dim i1 As Integer
Dim s As String
Dim s1 As String

Dim value As Variant

Dim rst As DAO.Recordset
'change the table name to your table name to
'the table name with the problem
Set rst = Currentdb("Your TableName",dbop ensnapshot)

'uncomment the line depending on string, number, date
'and change
'value = "Test"
'value = #1/21/2002#
'value = 123

'uncomment the rst line depending on string, number, date
'string search
'rst.findfirst "[ID] = '" & value & "'"
'number search
'rst.findfirst "[ID] = " & value
'date search
'rst.findfirst "[ID] = #" & value & "#"

'change the field name to your field name
s = rst!YourFieldNa me

For i = 1 to len(s)
s1 = Mid(s,i,1)
i1 = Asc(s1)
If i1 <> 10 and i1 <> 13 and (I1 < 32 or i1 > 126) then
msgbox "Ascii " & I1
endif
next i
rst.close
set rst = Nothing
msgbox "Done
end sub

If you get an ascii message, you do have hidden chars that are causing a
problem.

Get back if none of these work. Maybe more head scratching will be
required.

Nov 13 '05 #4

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

Similar topics

3
6943
by: David Merrick | last post by:
Hi ! can any of you help ? Since datasheets and forms can happily display calculated fields over 255 characters long, I was surprised to discover that the same when read via a DAO recordset beyond 255 characters is replaced with garbage. I'd be interested in how many of you also experience this problem. To see if you have, try one of the follow examples. Example ----------
2
3015
by: Adam | last post by:
I am importing a table from Informix into Access XP via an ODBC connection. In one of the fields, I will need it to allow 4000 characters. In Access help, it shows the data type can be changed to "memo" and that will allow up to 65,535 characters. After importing the table, I checked the data type and it automatically was set to memo, but with the 255 character limitation. When I attempt to go over 255, it will not allow it. Does...
2
5221
by: Bob Dydd | last post by:
Hi Everybody I have a Listbox that has a Memo field attached to it's 2nd column which on double click copies the memo field to another Memo Field. Forms!! = ListClassification.Column(1) My problem is that the receiving Memo Field Truncates at 255 characters
4
4618
by: jason.teen | last post by:
Hi, when i am joining on a Column of Text Type with one of Memo type the resulting entry has funny chinese characters! Has anyone else encountered this before? Is there a cure?? Cheers.
2
1798
by: Keith Wilby | last post by:
I have a table containing different field types including a memo field. If I do a select distinct on the table the memo field is truncated to 256 characters. I've never encountered this before, is it a known issue? Thanks. Keith.
9
5731
by: RMC | last post by:
Hello, I'm looking for a way to parse/format a memo field within a report. The Access 2000 database (application) has an equipment table that holds a memo field. Within the report, the memo field is printed within the detailed area. The problem is, the apllication is not setup properly, thus the users are entering data within the memo field as: location1 1/1/2005 1/1/2006
5
8949
by: Dean | last post by:
Hi, I have a table with non-unique identifiers. I need to take all the values with the same ID's and combine them into one field with a semicolon as a seperator. These values may exceed 255 characters. I then need to count the values in the cell and see if it adds up to 240 or more and then shorten that field by cutting off the excess and adding only "...and other". So, to recap, I need to summarise values based on the ID field, count...
1
1804
by: bbatson | last post by:
Hello, I am receiving strange text characters in a query linked to a back-end table with a memo text field. Below is the strange text that I am receiving in the query: http://img145.imageshack.us/img145/1557/sampleqt2.jpg Any ideas as to why this may be the case? Thanks!
5
7868
by: betaphase | last post by:
I am new to Access and I'm having trouble with a database someone else created. I am wondring why I am not being able to insert more than 255 characters to a memo field in Access 2003. We need a field in our database to allow us to enter a short summary of the job we are referencing. I can format the "data type" of the entry to be a "memo" which I thought should give me plenty of space to get the summary in. I can set the field to "memo"...
0
8168
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8672
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8614
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8330
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8471
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5561
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4075
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2603
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1780
muto222
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.