Question

How come my query isn't running correctly?

It is meant to contain fields: PONumber, Account, orderDate, itemNumber, and numberOrdered. Those come from the table OrderInfo. It is meant to show all the information for orderDate 2/16/2012.

Query Tools Project 4 Part2 File Home CreateExternal Data Database Tools Help Design Tell me wh Insert Ro ① Union Pass-Throug

Project 4 Part2 LAB: Database- CAUsers\Christinel DesktoplKathryn Sc Create External DataDatabase Tools Help Tell me what you

Query Tools Project 4 Part2 File Home CreateExternal Data Database Tools Help Design Tell me wh Insert Ro ① Union Pass-Through Show X Delete R View Run Select Make Append Update Crosstab Delete Table ビData Definition : e-Bul Table Results Query Type All Access Obie... OQuery1Orderinfo SELECT PONumber, Account, orderDate, itemNumber, numberOrdered FROM Orderlnfo Search.. WHERE orderDate-2/16/2012 Tables Orderlnfo Product!nfo Reports Relationships for Project 4 Pa...
Project 4 Part2 LAB: Database- CAUsers\Christinel DesktoplKathryn Sc Create External DataDatabase Tools Help Tell me what you want to do File Home aac Replace Calibri Ascending ▼ Selection Totals Cut New l Descending Advanced Filter Spelling E Copy Go To ViewPaste Refresh Find 순. Remove Sort Select ▼Toggle Filter Format Painter All.XDelete More Views Clipboard Sort & Filter Records Find Query?Orderinto All Access Obje... PONumber orderDate itemNumber numberOrdered Account Search.. Tables Orderlnfo Productinfo Reports Relationships for Project 4 Pa...
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Your query is not running correctly because Access database system have little different syntax compared to other traditional database systems like Oracle, MS SQL server.

In MS Access, if we are comparing the Date field, we need to put '#' symbol around it or in other words the date string need to be enclosed inside '#' symbol.

So, instead of writing 2/16/2012, you need to do it as

#2/16/2012#

and you will get the desired results.

Let me know, if you still find any difficulty, I would be happy to assist.

Thanks!

Add a comment
Know the answer?
Add Answer to:
How come my query isn't running correctly? It is meant to contain fields: PONumber, Account, orderDate, itemNumber,...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT