Microsoft Office

Microsoft Office Questions? Ask a IT Expert for Support ASAP

Ask a Computer Expert,
Get an Answer ASAP!

Microsoft Office

I am building a simple query with two tables. The data comes

Customer Question
I am building a simple...
I am building a simple query with two tables. The data comes out properly, but when I use criteria to filter for a specific data entry, it doesn't give the desired results. Additionally, when I filter for this particular data, it gives incorrect information.
I have a field named Program - There are 4 entries
20 Day HCG Program
40 Day HCG Program
30 Day Adipex Program
Resolution Program
In the criteria field under program I put 3* --- Like "3*" returned, and the data shows 40 Day HCG program.
In the criteria field under program I put 2* --- Like "2*" returned, and the data shows 20 Day HCG program.
In the criteria field under program I put 4* --- Like "4*" returned, and the data returns blank
Why is this happening and how do I fix it? In the table that stores the data, the field is of type short text.
Submitted: 2 years ago.Category: Microsoft Office
Show More
Show Less
Ask Your Own Microsoft Office Question
Answered in 17 minutes by:
8/25/2015
Microsoft Office Technician: Richard, Software Specialist replied 2 years ago
Richard
Richard, Software Specialist
Category: Microsoft Office
Satisfied Customers: 39,582
Experience: Over 15 year experience resolving Microsoft Office Issues
Verified

HI there and welcome

Can I look at your file please? It will be easier.

Attach it by clicking the paperclip here and I can check it.

Ask Your Own Microsoft Office Question
Customer reply replied 2 years ago
Says the file is to large to attach.
Microsoft Office Technician: Richard, Software Specialist replied 2 years ago

ok, go to http://ge.tt and attach it there and provide me the download link please

Ask Your Own Microsoft Office Question
Customer reply replied 2 years ago
http://ge.tt/6G38voM2/v/0?cqryProgram_Specific
Customer reply replied 2 years ago
What's the status? I felt like this would be a simple explanation for an expert.
Microsoft Office Technician: Richard, Software Specialist replied 2 years ago

It was some time before you replied and I was not online, I will look at this now for you.

Ask Your Own Microsoft Office Question
Customer reply replied 2 years ago
9 minutes Sir. It was only 9 minutes until I responded.
Microsoft Office Technician: Richard, Software Specialist replied 2 years ago

Ok, so the issue is the field you are querying is a lookup field its not actually storing the text which is why it does not work.

Ask Your Own Microsoft Office Question
Microsoft Office Technician: Richard, Software Specialist replied 2 years ago

Convert the Program Field's Display Control under Lookup in the Tablet to Text Box, then re-enter the text correctly and you can then apply the like filter on the query and it works.

Ask Your Own Microsoft Office Question
Customer reply replied 2 years ago
In the tblPrograms - the display control for program is set to text box. Is this where you are referring? It was already set to text box and still yields the same results as previously indicated. Please specify what you are telling me to change and where.
Microsoft Office Technician: Richard, Software Specialist replied 2 years ago

yes, but it is not already set to text box, I viewed this myself.

Convert the Program Field's Display Control under Lookup in the Tablet to Text Box, then re-enter the text correctly and you can then apply the like filter on the query and it works.

Ask Your Own Microsoft Office Question
Customer reply replied 2 years ago
Sir, I am not understanding what you are telling me to do. Are you referring to tblPrograms? I open the table (tblPrograms), go to design view, click on Programs, Lookup, Display Control ----- it is already showing text box. I am not understanding what you are telling me to do. Can you please more specific?
Microsoft Office Technician: Richard, Software Specialist replied 2 years ago

ok, I gave the specific steps to get there, it is a lookup, this is why you have the problem and I saw this on your copy.,

I have changed it and uploaded it here

http://ge.tt/4mzwrrM2/v/0?c

You will now see the raw data for program in the query which will work on like statements now.

Let me know if you have difficulties.

Ask Your Own Microsoft Office Question
Customer reply replied 2 years ago
OK Sir. Thank you for helping, however, that was not my intention or desired result. Please allow me to be a bit more specific. I have a table named tblPrograms that serves as a look up table for another table. The names of the programs thus far are the following: 30 Day Adipex Program, 20 Day HcG Program, 40 Day HcG Program, Resolution Program. Those are the only contents in the table. They are stored as short text and the display control is text box in the design view. I am creating a query called qryProgram_Specific, which is pulling data from two tables: tblTransactionRecord and tblPatients. In this query I need the following information filtered: from tblTransactionRecord - EntryDate, PatientID, Program, Addon(1), Addon(2), Addon (3); from tblPatients - LastName,FirstName. That is the intent of the query. When I filter the data for specific program information, that is where the problem arises. I am filtering the data from the query by Program. In the criteria, I put the following: 2*, Access will update to Like "2*" - and result is correct. It lists all 20 Day HcG Program entries. In the criteria, I put the following: 3*, Access will update to Like "3*" - and result is 40 Day HcG Program entries (This is incorrect). In the criteria, I put the following: 4*, Access will update to Like "4*" - and the result is blank.I am not certain if I can be more specific, but I didn't think you are understanding the issue. The issue is the result of the query filter on program. I need to the result of the filter to properly display the desired program name as it did with the criteria for Like "2*" and I am not understanding why it is not. I need to it display the program name, not an integer. It should return the data that is in the associated table, which is the program name.Does this better describe the issue, or I am missing what you are telling me? Additionally, I did not understand what you were telling me to change. If you would outline the steps, tables, etc, so I can understand and learn from what you may do to resolve the issue as it may come up in another query I run at a later date and I need to understand the root cause; how to fix; and ultimately how "Not" to create the problem.
Microsoft Office Technician: Richard, Software Specialist replied 2 years ago

the Root cause is you are using a lookup which you cannot do a like on as this is not the tables true data.

As I have been mentioning, it needs to be a text box which is what I did for you.

You created the problem by using a lookup field in a table which you should not do

I understand the issue, I am trying to tell you, and have shown you in my version, how to fix it.

so to reply to your statement "I need to the result of the filter to properly display the desired program name as it did with the criteria for Like "2*" and I am not understanding why it is not"

This is what I am explaining to you above.

Ask Your Own Microsoft Office Question
Customer reply replied 2 years ago
It's showing me a digit - not program name. In tblTransactionRecord - It shows the program name - which comes from a lookup table. What should I do here? I thought it would be easier to have the data selected from a specified lookup value.In the version I have, why does it work for Like "2*"? It is the same data format.On the version you sent to me it returns 3 from Like "3*" - a digit.I am not understanding what you did. It appears to me that your version in placing the programID from tblPrograms into the program field inside of tblTransactionRecord. Then the query is returning the programID when Like"3*" is in the query filter because the programID is in the program field.
Microsoft Office Technician: Richard, Software Specialist replied 2 years ago

yes, as I mentioned you need to retype it in to get the full value.

Ask Your Own Microsoft Office Question
Customer reply replied 2 years ago
Ok. I need to retype what and where?What about my tblProgram - which is used to populate tblTransactionRecord?Also, can you please outline exactly what you did and the steps - as I attempted to do earlier when I explained to you what I did to get this point and the results I am gettting? I want to use this as a learning experience and prevent this from being a problem in the future. With you doing the fix, - and I am not understanding what you did other than change the digits in the table- I can't learn nor replicate the solution. I do not want to have to retype the names in data fields - thus the reason i used a lookup table.Can you assist me in that regard, please Sir?
Microsoft Office Technician: Richard, Software Specialist replied 2 years ago

You need to type the values into the Program Field instead of just numbers.

Go to Table design, under Lookup for the program field (at the bottom)change it to Text Box, then re-enter the text correctly and you can then apply the like filter on the query and it works.

To redo the database you would have to make a new question

Ask Your Own Microsoft Office Question
Customer reply replied 2 years ago
Sir - what table are you referring? tblTransactionRecord and tblProgram both have text box in the lookup field. I am not understanding why there can not be a look up table to get the information.When there is a limited amount of responses for a particular field - why wouldn't/couldn't using a look up table be used to select the appropriate data input?The question asked is - " What program is the patient going to do?" Limited answers - 20 Day HcG, 30 Day Adipex, 40 Day HcG, or Resolution. Why would that have to be typed for every entry? I am not understanding why that is wrong and incorrect.
Microsoft Office Technician: Richard, Software Specialist replied 2 years ago

I am opting out on working with you on this as I have tried many times to explain why. I have even supplied you with the database with it solved, so I am out of ideas on how to explain it in another manner.

You do not need to do anything, you will be notified when someone takes over your case.

Thank you

Ask Your Own Microsoft Office Question
Ask Richard Your Own Question
Richard
Richard
Richard, Software Specialist
Category: Microsoft Office
Satisfied Customers: 39,582
39,582 Satisfied Customers
Experience: Over 15 year experience resolving Microsoft Office Issues

Richard is online now

A new question is answered every 9 seconds

How JustAnswer works:

  • Ask an ExpertExperts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional AnswerVia email, text message, or notification as you wait on our site. Ask follow up questions if you need to.
  • 100% Satisfaction GuaranteeRate the answer you receive.

JustAnswer in the News:

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

What Customers are Saying:

My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed.

One Happy CustomerNew York

Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help.

Mary C.Freshfield, Liverpool, UK

This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!!

AlexLos Angeles, CA

Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult.

GPHesperia, CA

I couldn't be more satisfied! This is the site I will always come to when I need a second opinion.

JustinKernersville, NC

Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around.

EstherWoodstock, NY

Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know.

RobinElkton, Maryland

< Previous | Next >

Meet the Experts:

jstinehelfer

jstinehelfer

Information Systems Manager

36 satisfied customers

A+ Comptia Certified computer repair

JasonJames122

JasonJames122

Computer Enthusiast

0 satisfied customers

I manage all information systems (network of Windows PC's and servers with Microsoft Office products) for a small business

Jess M.

Jess M.

Computer Support Specialist

684 satisfied customers

Computer Software Specialist for more than 10 years

The-PC-Guy

The-PC-Guy

Computer Manager

579 satisfied customers

20 years experience providing remote computer support

James K.

James K.

Consultant

260 satisfied customers

Technical Director of IT Company

IT Miro

IT Miro

Computer Scientist

156 satisfied customers

Bachelor's Degree in Information Technology, Microsoft Certified Professional

Chris L.

Chris L.

Support Specialist

143 satisfied customers

Certified Expert with over 10 years experience.

< Previous | Next >

Related Microsoft Office Questions
Have a Word document that I need to make into a template but
Have a Word document that I need to make into a template but want the header editable too - currently this is losing its formatting when placing into a header, whilst keeping it's edit-ability. Additi… read more
bbao
bbao
Freelance IT Consultant
74 satisfied customers
I am trying to sign in to my Microsoft account...
I am trying to sign in to my Microsoft account...***@******.*** … read more
UranIT
UranIT
IT Consultant, Network and System Admin
Associate Degree
468 satisfied customers
I mistakenling uninstall microsoft office. Can I recover it?
I mistakenling uninstall microsoft office. Can I recover it? … read more
Viet - Computer Tech
Viet - Computer Tech
Computer Technican
Bachelor\u0027s Degree
952 satisfied customers
I have an 8 column spreadsheet. A-H. Sorry, I hit enter too
Sorry, I hit enter too early. Excel. Not sure of the version … read more
The-PC-Guy
The-PC-Guy
Computer Manager
Bachelor's Degree
579 satisfied customers
I am coinstantly getting calls that say they are from
I am coinstantly getting calls that say they are from Microsoft....I have others also trying to call about my computer. How do I know if it is really a call from Microsoft. They are always saying my c… read more
Jess M.
Jess M.
Computer Support Specialist
Bachelor's Degree
684 satisfied customers
I have bought a new Windows 10 and have used my Office 365
I have bought a new Windows 10 and have used my Office 365 sub to install Office suite. I now get a message for me to fix my account in order to continue using the software. What do I need to do? … read more
Cody
Cody
Computer Science
1,466 satisfied customers
Uninstalled office 2011 for mac and then reinstalled from
uninstalled office 2011 for mac and then reinstalled from disk and outlook email not showing up … read more
Damian Costa
Damian Costa
Owner
Computer Network System Engineer
40 satisfied customers
I bought a microsoft office package on 18th Nov. for $99,
I bought a microsoft office package on 18th Nov. for $99, and it hasn't been re cognised on my computer. How doI activate it? … read more
Michelle
Michelle
Manager operations
Bachelor\u0027s Degree
1,273 satisfied customers
I need to re-activate my Microsoft Office and Student 2007,
I need to re-activate my Microsoft Office and Student 2007, after HD being transferred to another computer … read more
Richard
Richard
Software Specialist
39,582 satisfied customers
I'm experiencing an on going issue with my Outlook O365
Hi There, I'm experiencing an on going issue with my Outlook O365 email account for over a few months now. When I start Outlook I see the message "Something is wrong with one of your data files and Ou… read more
Jason Jones
Jason Jones
AAS Information Technology
6,316 satisfied customers
I CAN'T OPEN MICROSOFT WORD FILES ON MY DESKTOP. I GET AN
I GET AN ERROR MESSAGE. IT SAYS THE TITLE IS INCORRECT. THIS HAS NEVER HAPPENED BEFORE. I HAVEN'T KNOWINGLY REARRANGED FILE FOLDERS RECENTLY … read more
Cris
Cris
Desktop Support
Associate Degree
58 satisfied customers
I wish to go back to our previous email
I wish to go back to our previous email [*****@******.*** … read more
Jess M.
Jess M.
Computer Support Specialist
Bachelor's Degree
684 satisfied customers
How to install previously purchased microsoft office online
how to install previously purchased microsoft office online to a new computer … read more
Viet - Computer Tech
Viet - Computer Tech
Computer Technican
Bachelor\u0027s Degree
952 satisfied customers
I just started a requested update of MS Office for my
I just started a requested update of MS Office for my MacBook pro (2015). … read more
Jon
Jon
Bachelors Degree
394 satisfied customers
I Need help making changes to an existing spreadsheet.
I Need help making changes to an existing spreadsheet … read more
The-PC-Guy
The-PC-Guy
Computer Manager
Bachelor's Degree
579 satisfied customers
I just installed Microsoft office and they are in the dock
Hello, I just installed Microsoft office and they are in the dock but none of them will open! … read more
Josh
Josh
It Support Specialist
Associate Degree
5,127 satisfied customers
How do i change my outgoing message in my teleohone. Acer
how do i change my outgoing message in my teleohone … read more
Bhavik Joshi
Bhavik Joshi
Computer Science and Engineering
588 satisfied customers
I CAN'T OPEN MICROSOFT WORD FILES ON MY DESKTOP. I GET AN
I GET AN ERROR MESSAGE. IT SAYS THE TITLE IS INCORRECT. THIS HAS NEVER HAPPENED BEFORE. I HAVEN'T KNOWINGLY REARRANGED FILE FOLDERS RECENTLY … read more
Bryan
Bryan
IT Consultant
8,746 satisfied customers
Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Show MoreShow Less

Ask Your Question

x