Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5987157
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T22:46:28+00:00 2026-05-22T22:46:28+00:00

I have a query that by all rights should not possibly fail, and I

  • 0

I have a query that by all rights should not possibly fail, and I can’t for the life of me figure out why

INSERT INTO Grocery_Store_Prices(Store,Item,Brand,Price,Unit,Quantity,Note) 
VALUES("Kroger","Cheesy Poof","Cartman",0.51,"fart",15,"what is going on");

When I try to run the query I get “Syntax error in INSERT INTO statement” with the Note field highlighted. If I omit the Note field and its value, the query works fine. Is there something really obvious I’m missing, or is there an Jet SQL quirk buried here???

The table it’s acting on is:
Grocery_Store_Prices

  • ID — autonumber primary key
  • Store — Text
  • Date — Date/Time
  • Item — Text
  • Brand — Text
  • Price — Currency
  • Unit — Text
  • Quantity — Number (double)
  • Note — Text.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T22:46:29+00:00Added an answer on May 22, 2026 at 10:46 pm

    “Note” is a reserved word in Microsoft Access. You need to surround it with square brackets:

    INSERT INTO Grocery_Store_Prices(Store,Item,Brand,Price,Unit,Quantity,[Note])
    VALUES("Kroger","Cheesy Poof","Cartman",0.51,"fart",15,"what the ____");
    

    Helpful list of reserved words here: http://support.microsoft.com/kb/286335

    Some consider it best practice to always encase field names in square brackets, just so you don’t have to worry about it.

    Good luck!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So I have a query that should get all posts from a table while
I have an SQL query that returns all companies records ignore the ones with
I have a query that shows me a listing of ALL opportunities in one
I have a query now that shows me all the calls between this time,
I have a query that pulls back a user's feed which is essentially all
Say I have a query that fetches [type][show_name]. For all [type]==5 records, I need
I have a query such that I need to get A specific dog All
Dear all, I have a select query that currently produces the following results: DoctorName
Hi I have a query in PHP that calculates the sum of all the
If I have a query to return all matching entries in a DB that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.