?
Solved

Dreamweaver Access recordset error

Posted on 2007-03-23
3
Medium Priority
?
267 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 2000 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

Get MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.

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.
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
Suggested Courses
Course of the Month10 days, 15 hours left to enroll

770 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