Solved

Dreamweaver Access recordset error

Posted on 2007-03-23
3
266 Views
Last Modified: 2010-04-25
Hello
I have an access table with three fields
CurrID            Key Auto Number
CurrName      Text
CurrRate      double number
I am trying to create a recordset in Dreamweaver but when I try to test this recordset I get an error message
Syntax error in FROM clause.
the sql is
SELECT *
FROM Currency
The record set is saved OK
Why does Test throws this error.
Any ideas please?
Regards
John
0
Comment
Question by:johnhardy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 27

Expert Comment

by:MikeToole
ID: 18778770
I think that Currency is a Keyword. Try this instead:
Select * From [Currency]
0
 
LVL 85

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 500 total points
ID: 18778859
Or adopt and use a nameing convention where your tables would be named something like tCurrency or tblCurrency ... this avoid reserved words altogether.
0
 

Author Comment

by:johnhardy
ID: 18778947
Thanks quite correct
0

Featured Post

The Orion Papers

Are you interested in becoming an AWS Certified Solutions Architect?

Discover a new interactive way of training for the exam.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
In earlier versions of Windows (XP and before), you could drag a database to the taskbar, where it would appear as a taskbar icon to open that database.  This article shows how to recreate this functionality in Windows 7 through 10.
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question