Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot run UPDATE query with Sage Line 100 ODBC driver.

Status
Not open for further replies.

SunnyByfleet

Technical User
Feb 24, 2003
146
0
0
GB
Hi,

I am trying to do some under the bonnet work on a Sage Line 100 dataset. You can access this via ODBC, and performing SELECT queries causes no issues.

However, if I try and perform an UPDATE query, like so:

[tt]
UPDATE 'S'.'STOCK_CONTROL_FILE'
set 'MINIMUM_STOCK_LEVEL' = 0
GO
[/tt]

I get the following error:

[tt]
<eb1>Syntax error: Invalid key word specification
State:37000,Native:0,Origin:</eb1>
[/tt]

As far as I can see it, I am doing nothing wrong. Does anybody know how to perform an UPDATE query using the Sage Line 100 ODBC driver?

Help!!
 
The Sage driver only provides read only (SELECT) access. You cannot run update or append queries etc against the Sage Tables.
 
Has anyone successfully done select queries to sage from asp?
if so can you tell me where the latest drivers are and an example of your code. This would be very much appreciated




 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top