PC Review


Reply
Thread Tools Rate Thread

Database editor not producing valid query

 
 
=?Utf-8?B?Qm9i?=
Guest
Posts: n/a
 
      30th Apr 2007
I have built a database editor using the database interface wizard. However,
when I attempt to use the editor I get a database results error. I
re-entered the database results section of update.asp (which was built by the
database interface wizard) and attempted to verify the query and got the
following message

Server error: Unable to retrieve schema information from the query:

UPDATE Events SET Event = '1' , EventSeries = '2' , EventType = '3' ,
Headliner = '4' , Supporting = '5' , Venue = '6' , Date = '7' , Time = '8' ,
MoreInfoOnEvent = '9' , TicketsRequired = '10' , AdmissionFee = '11' ,
TicketsInfo = '12' , VenueDataSource = '13' , ProgramSummary = '14' WHERE
(ID = 15)

against a database using the connection s

The following error message comes from the database driver software; it may
appear in a different language depending on how the driver is configured.
-------------------------------------------------------
[Microsoft][ODBC Microsoft Access Driver] Syntax error in UPDATE statement.

Source: Microsoft OLE DB Provider for ODBC Drivers
Number: -2147217900 (0x80040e14)


I have two other database editors running against different tables in the
same access database and they all run add/change/delete without problems.

The database editor works for add/delete in this particular table, but the
change capability does not seem to work for some reason. There have been no
changes to the code generated by the database interface wizard except to flag
the field id as autonumber (it is the primary key).

I have contacted my server host and they tell me that everything is
correctly configured on their end.

Can anyone point me in the right direction to resolve this problem?


 
Reply With Quote
 
 
 
 
Bob Lehmann
Guest
Posts: n/a
 
      30th Apr 2007
Date & Time are resevered keywords.
http://sqlserver2000.databases.aspfa...-keywords.html

Bob Lehmann

"Bob" <(E-Mail Removed)> wrote in message
news:0D7DAEB9-2209-4C97-A6BD-(E-Mail Removed)...
> I have built a database editor using the database interface wizard.

However,
> when I attempt to use the editor I get a database results error. I
> re-entered the database results section of update.asp (which was built by

the
> database interface wizard) and attempted to verify the query and got the
> following message
>
> Server error: Unable to retrieve schema information from the query:
>
> UPDATE Events SET Event = '1' , EventSeries = '2' , EventType = '3' ,
> Headliner = '4' , Supporting = '5' , Venue = '6' , Date = '7' , Time = '8'

,
> MoreInfoOnEvent = '9' , TicketsRequired = '10' , AdmissionFee = '11' ,
> TicketsInfo = '12' , VenueDataSource = '13' , ProgramSummary = '14' WHERE
> (ID = 15)
>
> against a database using the connection s
>
> The following error message comes from the database driver software; it

may
> appear in a different language depending on how the driver is configured.
> -------------------------------------------------------
> [Microsoft][ODBC Microsoft Access Driver] Syntax error in UPDATE

statement.
>
> Source: Microsoft OLE DB Provider for ODBC Drivers
> Number: -2147217900 (0x80040e14)
>
>
> I have two other database editors running against different tables in the
> same access database and they all run add/change/delete without problems.
>
> The database editor works for add/delete in this particular table, but the
> change capability does not seem to work for some reason. There have been

no
> changes to the code generated by the database interface wizard except to

flag
> the field id as autonumber (it is the primary key).
>
> I have contacted my server host and they tell me that everything is
> correctly configured on their end.
>
> Can anyone point me in the right direction to resolve this problem?
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Producing a Valid Date/Time Stamp rlm Microsoft C# .NET 1 31st Mar 2009 10:46 AM
Query is producing triplicates TraciAnnNeedsHelp Microsoft Access 3 3rd Mar 2009 08:10 PM
Query producing XML appears to be cached Simon Rigby Microsoft ASP .NET 2 21st Nov 2006 01:42 PM
Query stopped producing data =?Utf-8?B?Um9iYmk=?= Microsoft Access Queries 2 18th Nov 2005 03:54 AM
Query producing 522 copies of same record FJB Microsoft Access Queries 13 22nd Sep 2005 06:24 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:38 AM.