473,729 Members | 2,063 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Attaching to MySQL tables from MS Access - apostrophes { Chr$(39) } in memo fields are somhow expanded to a 4-character string ("&#39")

Is an apostrophe a character of special significance to MySQL in a way
that would cause "Bob's dog" to become translated into a 12-character
string when typed into a MySQL memo field? If I type Bob's dog into an
Access memo field, I get a string that is 9-characters long.

When I read "Bob's dog" from a memo field in a MySQL table attacted
to MS Access via MyODBC driver, it displays as "Bob&#39s dog" - a
twelve character string. the &#39 looks like a HEX character code
value designator. Can someone provide me with a logical explanation
of why I might be seeing apostrophes this way from an MS Access
database having such tables attached?
Nov 13 '05 #1
0 2176

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

Similar topics

by: Hugh Welford | last post by:
Hi ... using WIN XP/ FP 2000/ IIS. I need to be able to retieve variable length (>255 characters) messages which have been saved in a memo field in an access data base on the server. I am using the following code to test this : - <% set objconn = server.createobject ("ADODB.connection") set objrec = server.createobject ("ADODB.recordset") objconn.open "DSN=daters"
by: Hugh Welford | last post by:
Hi ... My application saves variable length user-generated messages in an ACCESS memo field. ASP writes these messages correctly retaining CR LF to generate new paragraphs. (have checked this in the actual data base). However , when I retrieve a message into another web page, the CR LF characters are lost, and the message displays as one long sequence of unformatted text. Anyone any idea how I can overcome this? Using WIN...
by: Vincent Lau | last post by:
Hello, I'm new on ASP and Access. I stored several lines of information in a Access memo field. I use follow ASP response.write statement to display contain of the memo field. Response.Write sa1("job_detail") However, all the lines are mixed into one line. How can I show it in the original format?
by: Lauren Quantrell | last post by:
I'm using this construction on an Access Memo field: .... Dim prm as ADODB.Parameter .... Set prm = cmd.createParameter("myParam", adLongVarWChar, 0, Me.myParam) cmd.Parameters.Append prm .... (I have also tried it with adLongVarChar)
by: Lauren Quantrell | last post by:
I'm using this construction on an Access Memo field: .... Dim prm as ADODB.Parameter .... Set prm = cmd.createParameter("myParam", adLongVarWChar, 0, Me.myParam) cmd.Parameters.Append prm .... (I have also tried it with adLongVarChar)
by: djp | last post by:
Hi, I'm trying to access fields that are local to a method using reflection. What BindingFlags value should I use and is this possible at all. So far I was able to retreive class fields only. Thanks
by: Matt | last post by:
I'm having difficulty with trying to update a Access memo field through an SQL statement where the value I'm trying to pass is longer than 255 characters. The field is being truncated. I'm using a simple INSERT INTO sql command. Anyone know a way around this? Sample strSQL = "INSERT INTO tblListings " & _ "(Dir, Street, City, State, " & _ "AFirst, Price, ALast, MainPhoto, Summary, Details,
by: Ivan Sammut | last post by:
Hi, I am accesing some paradox table using the ADO .net and everthing worked fine until I had to save something in a memo field. Everytime I try to update a memo field I get an error. Is there any know issues with this kind of fields in Paradox tables or am I doing something wrong. Ivan
by: LJB | last post by:
I have an ASP that displays two MS Access memo fields in separate table cells just fine. However when I concatenate them with SQL as in "select fld1 & fld2 as temp...." to display them in one cell only part of the first field is displayed in the table. What is causing this? thanks LJB
by: philip.spinks | last post by:
Hi I am a novice at Access (2002) and I need some help. I want to use a query to interrogate a memo field which contains the body of an email but despite help with the syntax etc. I can not get it to return any records. Can anyone tell me if there are limitations using queries on Memo fields? For example, do they just look at the first 255 characters, all the field contents or just not work at all
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
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,...
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...
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
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();...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
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
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.