Wrox Programmer Forums
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 18th, 2006, 07:02 AM
Registered User
 
Join Date: Jul 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to biggspj Send a message via Yahoo to biggspj
Default Help with school question

I am having a problem making a query that works with a memo datatype. I can use * to pull all of the information, but if I try to search on a keyword in that memo it comes back blank. what am I doing wrong?

Paula
 
Old July 18th, 2006, 08:14 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 217
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi Paula and welcome to the forum!

You can't search on one item in a memo field. You may need to give you user another field (like "Topic") to search on.

HTH,

Loralee

 
Old July 18th, 2006, 11:26 AM
Registered User
 
Join Date: Jul 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to biggspj Send a message via Yahoo to biggspj
Default

Lorelee,
 Thank you soooo Much for responding. I am severely lost. I am in my 6th week of Access class and this one has me stumped. I have to use the Design View for creating my Query. So I put in 5 of the different fields including the comment field (which is the memo data type I have to use to search with). I took your advice and used the key word to search with under the memo section and then I chose another field and put a keyword that I knew corresponded to the record that should have been pulled up. (so it should have pulled up the trainer with the trainer number of 203 and that had a degree in recreation Management) when I hit the run button it comes back blank.
Am I not following your instructions correctly?
Paula
 
Old July 18th, 2006, 12:16 PM
Friend of Wrox
 
Join Date: Dec 2005
Posts: 142
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Set your criteria to:

LIKE '*keyword*'

and it should work.

 
Old July 18th, 2006, 12:27 PM
Friend of Wrox
 
Join Date: Jul 2005
Posts: 150
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No, you are NOT following the instructions correctly.

What Loralee is saying is that you can NOT search or use criteria on a MEMO data type fiels.

You will have to create a new field or use a different fiels that is text and then "search" on that field and NOT the memo field.

If you do try to search (use criteria) on a memo field, Access will only use the first 255 characters of the memo field.

Boyd
"Hi Tech Coach"
Access Based Accounting/Business Solutions developer.
http://www.officeprogramming.com
 
Old July 18th, 2006, 07:42 PM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 217
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi Paula,
Hang in there. With only 6 weeks working with Access it sounds like you have covered alot of territory.
What is is that you want to sort on in the memo field? If it is TrainerNumber, then create a separate field called TrainerNumber that you can use to locate the record. You will need that field (a primary key) anyway for other things, like joining to other tables, etc.

HTH, and keep at it!

Loralee

 
Old July 19th, 2006, 01:04 AM
Registered User
 
Join Date: Jul 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to biggspj Send a message via Yahoo to biggspj
Default

THANK YOU!!

After reading the book again and reading your advice I was able to get it with minimal amounts of beating my head against the wall.
THANK YOU ALL SO MUCH!!!

Paula





Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP! Tables and queries in school project joseph.novak SQL Language 0 October 29th, 2005 01:13 PM
High School Project on Computer Programming Mercution Beginning PHP 0 June 6th, 2005 08:51 PM
Building School Library Application??? mythinky .NET Web Services 1 March 1st, 2004 06:40 PM
c++ question amahja56 C++ Programming 3 February 24th, 2004 02:45 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.