473,791 Members | 3,071 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

MS Access Memo Fields

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

The query I am running is:

SELECT Emails.*
FROM Emails
WHERE ucase(Emails.Me ssageTxt) Like '%BUY%' Or
ucase(Emails.Me ssageTxt) Like '%SELL%'
ORDER BY Emails.[Message#];

I was also unsure whether the Like function is case sensitive

Thanks

Jun 12 '07 #1
4 3959
<ph***********@ gartmore.comwro te in message
news:11******** *************@x 35g2000prf.goog legroups.com...
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

The query I am running is:

SELECT Emails.*
FROM Emails
WHERE ucase(Emails.Me ssageTxt) Like '%BUY%' Or
ucase(Emails.Me ssageTxt) Like '%SELL%'
ORDER BY Emails.[Message#];

I was also unsure whether the Like function is case sensitive

Thanks
I'm not sure if this will solve your problem but you could start by using
double-quotes instead of singles and asterisks instead of percent.

Keith.
www.keithwilby.com

Jun 12 '07 #2
On Jun 12, 2:45 pm, "Keith Wilby" <h...@there.com wrote:
<philip.spi...@ gartmore.comwro te in message

news:11******** *************@x 35g2000prf.goog legroups.com...


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
The query I am running is:
SELECT Emails.*
FROM Emails
WHERE ucase(Emails.Me ssageTxt) Like '%BUY%' Or
ucase(Emails.Me ssageTxt) Like '%SELL%'
ORDER BY Emails.[Message#];
I was also unsure whether the Like function is case sensitive
Thanks

I'm not sure if this will solve your problem but you could start by using
double-quotes instead of singles and asterisks instead of percent.

Keith.www.keithwilby.com- Hide quoted text -

- Show quoted text -
Thanks Keith

Don't know why but it seems to have worked!!! :-)

Jun 12 '07 #3
"Phil" <ph***********@ gartmore.comwro te in message
news:11******** *************@r 19g2000prf.goog legroups.com...
>
Thanks Keith

Don't know why but it seems to have worked!!! :-)
Your original query might have worked on an Oracle table but " and * are
what Access expects instead of ' and %.

Jun 12 '07 #4
ph***********@g artmore.com wrote:
SELECT Emails.*
FROM Emails
WHERE ucase(Emails.Me ssageTxt) Like '%BUY%' Or
ucase(Emails.Me ssageTxt) Like '%SELL%'
ORDER BY Emails.[Message#];
The wildcard character in MS Jet is *, not the % you're used to seeing
in many other database systems. I personally prefer to use double
quotes with Access/Jet as well.

--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Be Careful, Big Bird!" - Ditto "TIM-MAY!!" - Me
Jun 12 '07 #5

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

Similar topics

8
5799
by: euang | last post by:
Hi, I have been using access 2000 for two years on WINDOWS NT to display dynamic aweb page using ASP My ISP has now changed to Windows 2003, and I am having major problems displaying information from MEMO fields within the Access 2000 database. I have not had any problems before displaying MEMO fields on NT and have tried various tips to resolve this issue but no luck so far. I was wondering if anyone had come accross a similar...
4
5809
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"
28
4064
by: Lee Rouse | last post by:
Hello all, This is going to be a rather lengthy "question". I have an Access 2k database, separated front end/back end. Front end copies are on about 30 workstations and used frequently during the work day. The backend has a table called CLIENTS with approximately 6000 client records. Changes to data in the table are made via a frontend db Form which has CLIENTS as its record source.
0
1756
by: htmlgeek | last post by:
I'm adding and updating records in an Access .mdb via WWW .asp page. Authored in Dreamweaver 2004 MX. Help is welcome on this one. I have a great set of pages that work fine, but it seems that insert or update pages don't always work now on some records . . . It seems that when lots of text is shoved into a memo fields the database ID for that record gets messed up. Intial record insertion goes OK, but updating is then hosed.
0
3481
by: NewbieSupreme | last post by:
I'm using PHPMyAdmin on an Apache2Triad install (latest version; 5.x.x, which installs PHP5 and PHPMyAdmin 2.8 as well). In Access, I exported a table to a text file, tab-delimited, text qualifyer of "none" (this is how I read to do it from newsgroups). When I use the Query window in phpmyadmin to import the text file, it waits a while, then returns an error: #1064 - You have an error in your SQL syntax; check the manual that...
9
5740
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
49
4365
by: Allen Browne | last post by:
If you are looking for opinon on what's useful in Access 2007, there's a new article at: http://allenbrowne.com/Access2007.html Covers what's good (useful features), what's mixed (good and bad), what's gone (features removed), what's fixed (old issues solved), what's broken (new bugs), configuration, compatibility, should you buy, and links. It is opinion, so you may disagree, but hopefully it's an informative summary.
13
2680
by: Owen Jenkins | last post by:
Following on from an earlier post... I can reliably corrupt a record by doing the following ... Open two separate but identical front ends on one PC each linking to the same back end. Edit a records in one front end and leave it unsaved. Edit the same record in the other front end and save the change. Save the change in the first front end - this pops up the Write Conflict message to which I click Save.
13
1716
by: Jack B | last post by:
I'm using Access 2002 to create a database for a small opera company that my wife is involved in, and I'm more than a bit rusty because I haven't created a new Access database since about 1999. So, I will probably have quite a few questions as I go through this, and hopefully this group will help me out. I will be creating this database for someone else to enter the data. I have a patron table with name, address, email, etc., and I...
2
4770
by: steph | last post by:
I have a table with 250 fields. Of course you are wondering why 250 fields... what could I possibly be storing in so many fields? I am using this table as a general import table for files that vary based on user selections. The input files are CSVs and can number from 2 to 175 columns. Each field is usually able to fit into a Text field (< 255 characters) but every now and then a longer field creeps in. since I don't know in which column...
0
9669
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, 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...
0
10427
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
10207
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...
0
9029
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7537
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 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...
0
6776
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();...
1
4110
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
2
3718
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2916
bsmnconsultancy
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.