Solved

Dreamweaver Access recordset error

Posted on 2007-03-23
3
263 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
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 84

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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

'Between' is such a common word we rarely think about it but in SQL it has a very specific definition we should be aware of. While most database vendors will have their own unique phrases to describe it (see references at end) the concept in common …
If you find yourself in this situation “I have used SELECT DISTINCT but I’m getting duplicates” then I'm sorry to say you are using the wrong SQL technique as it only does one thing which is: produces whole rows that are unique. If the results you a…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

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