Ask a Question related to Coldfusion Database Access, Design and Development.
-
doramon #1
CFMX 7 & MS Access
When executing the following query in In CFMX 7
<cfquery name="registerUser" datasource="test">
INSERT INTO test1 (Name, password) VALUES ('aaa','aaa')
</cfquery>
(i) if datasource is MS Access, there is no problem
(ii) if datasource is MSAccess with unicode, a "Syntax error in INSERT INTO
statement" occurs.
Did anybody face the same problem?
doramon Guest
-
unlocking Access databases in CFMX
ColdFusion pools connections. There are timeout settings on the connections. You have to have ZERO ACTIVITY on the connection pool before it lets... -
unlocking Access databases in CFMX
I have the same issue. I cannot unlock the .mdb file on my shared server. It uses CF7 and I was told and proven to myseld that "Maintain... -
MS Access on CFMX Linux
Hi. I need to be able to use an MS Access database on CFMX on Linux. Has anyone managed to do this? I guess using JDBC but how? Thanks in... -
CFMX 7.0 Datasource with Access
I just installed CFMX 7 on a new web server. When I initially set it up I was able to connect a few of my Access databases without a problem. Today... -
unlocking Access databases in CFMX
I can't believe with as often as this is a problem for me, that it doesn't appear more often in the forum. I search for a solution. I get the same... -
Ken Ford - *TMM* & PVII #2
Re: CFMX 7 & MS Access
Name is a reserved word:
[url]http://support.microsoft.com/default.aspx?scid=KB;en-us;286335[/url]
Try this:
<cfquery name="registerUser" datasource="test">
INSERT INTO test1 ([Name], password) VALUES ('aaa','aaa')
</cfquery>
--
Ken Ford
PVII Support Team
[url]http://www.projectseven.com[/url]
Team Macromedia Volunteer - Dreamweaver
Certified Dreamweaver MX 2004 Developer
"doramon" <webforumsuser@macromedia.com> wrote in message news:d0v0id$3db$1@forums.macromedia.com...> When executing the following query in In CFMX 7
>
> <cfquery name="registerUser" datasource="test">
> INSERT INTO test1 (Name, password) VALUES ('aaa','aaa')
> </cfquery>
>
> (i) if datasource is MS Access, there is no problem
> (ii) if datasource is MSAccess with unicode, a "Syntax error in INSERT INTO
> statement" occurs.
>
> Did anybody face the same problem?
>
Ken Ford - *TMM* & PVII Guest
-
doramon #3
Re: CFMX 7 & MS Access
Thanks for your reply.
I made a typing mistake. Sorry. The code should read
<cfquery name="registerUser" datasource="test">
INSERT INTO test1 (name1, password) VALUES ('aaa','aaa')
</cfquery>
This code works if "test" is a MS Access datasource.
However, if "test" is a MS Access with unicode datasource, the syntax error
results.
doramon Guest



Reply With Quote

