Solved

Dreamweaver Access recordset error

Posted on 2007-03-23
3
261 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
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks quite correct
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
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, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now