A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Query a memo field



 
 
Thread Tools Display Modes
  #1  
Old July 8th, 2004, 10:26 PM
Jana
external usenet poster
 
Posts: n/a
Default Query a memo field

I would like to run a query on a memo field that will show
all occurrences of one word in the field.

Is there anyway to do that.

Jana
  #2  
Old July 8th, 2004, 10:37 PM
fredg
external usenet poster
 
Posts: n/a
Default Query a memo field

On Thu, 8 Jul 2004 14:26:53 -0700, Jana wrote:

I would like to run a query on a memo field that will show
all occurrences of one word in the field.

Is there anyway to do that.

Jana


as criteria for the memo field:

Like "*" & [enter Word] & "*"

will find a word anywhere in the field.
--
Fred
Please only reply to this newsgroup.
I do not reply to personal email.
  #3  
Old July 9th, 2004, 10:28 AM
Peter R. Fletcher
external usenet poster
 
Posts: n/a
Default Query a memo field

Do you really mean _all_ occurrences? Fred's solution will find (and
return a single copy of) each record where there is one _or_ more_
occurrence of the word in the field. Note also that his suggested
solution looks for the specified word as a string without any other
limitations - looking for "fred" with his code will also find
"alfred", "frederick", and even "alfreda".

On Thu, 8 Jul 2004 14:26:53 -0700, "Jana"
wrote:

I would like to run a query on a memo field that will show
all occurrences of one word in the field.

Is there anyway to do that.

Jana



Please respond to the Newsgroup, so that others may benefit from the exchange.
Peter R. Fletcher
  #4  
Old July 9th, 2004, 04:36 PM
external usenet poster
 
Posts: n/a
Default Query a memo field

I believe that his solution will work in my case because I
will be looking for construction terms as opposed to
names. It might actually be beneficial since I can use
shortened versions of terms and get variations.

Thanks both of you for your help.

Jana
-----Original Message-----
Do you really mean _all_ occurrences? Fred's solution

will find (and
return a single copy of) each record where there is one

_or_ more_
occurrence of the word in the field. Note also that his

suggested
solution looks for the specified word as a string without

any other
limitations - looking for "fred" with his code will also

find
"alfred", "frederick", and even "alfreda".

On Thu, 8 Jul 2004 14:26:53 -0700, "Jana"
wrote:

I would like to run a query on a memo field that will

show
all occurrences of one word in the field.

Is there anyway to do that.

Jana



Please respond to the Newsgroup, so that others may

benefit from the exchange.
Peter R. Fletcher
.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Query truncating memo field Jordan Running & Setting Up Queries 8 August 3rd, 2004 01:05 AM
NUMBERING the pages Bob New Users 7 June 14th, 2004 12:20 AM
UNION Query truncating Memo fields Matthew DeAngelis Running & Setting Up Queries 4 June 10th, 2004 02:17 PM
query field reference help -dch Running & Setting Up Queries 4 June 2nd, 2004 07:30 PM
Text field causing trouble in query (continued) KaiRich Running & Setting Up Queries 2 May 28th, 2004 01:03 PM


All times are GMT +1. The time now is 11:48 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.