Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2674
  • Last Modified:

The SELECT statement includes a reserved word or an argument name that is misspelled or missing, or the punctuation is incorrect.

Set ProjectQ = coDB.Execute("select SubRegionID, FocusID, from tbl_Project where ProjectID = " & Request("ProjectID"))

error:

The SELECT statement includes a reserved word or an argument name that is misspelled or missing, or the punctuation is incorrect.


what the hell is wrong with my query?  I don't see it
0
dba123
Asked:
dba123
  • 3
  • 2
1 Solution
 
arbertCommented:
You have a comma after FocusID before the from statement...
0
 
arbertCommented:
Set ProjectQ = coDB.Execute("select SubRegionID, FocusID from tbl_Project where ProjectID = " & Request("ProjectID"))
0
 
dba123Author Commented:
unbelievable......ahhhhh
0
 
dba123Author Commented:
hmmm, maybe it's time for contacts lenses
0
 
arbertCommented:
nah, just sounds like it's close to the end of your day :)  Those are the hardest problems to find!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now