kiwipeet
Programmer wannabe
- Local time
- Tomorrow, 03:01
- Joined
- May 13, 2008
- Messages
- 25
Hi.
I'm using SQL Server 2005 as a back end, with MS-Access 2003 as a front end is attached via ODBC linked tables.
MS-Access is used mainly for queries and a couple of forms. I now want to update data in the table via the form.
I can query data, and insert data without any problems, but I can't update. Can anybody explain why? is this a common problem?
I am trying to update a single row and set a date. The query looks like this:
update linked_sql_table
set date_done = date()
where key_value = 'ABC123';
The error message is: "Operation must use an updateable query".
The end users have sufficient priviledges (grant all to users) and access the data using windows authentication. (and I am dbo... and can't do it.)
Alternatively, is there a better way of doing this?
For example: could I place the sql in a stored procedure and execute it with the key value as a variable? (or am I looking for a complex solution to a simple problem?)
I'm using SQL Server 2005 as a back end, with MS-Access 2003 as a front end is attached via ODBC linked tables.
MS-Access is used mainly for queries and a couple of forms. I now want to update data in the table via the form.
I can query data, and insert data without any problems, but I can't update. Can anybody explain why? is this a common problem?
I am trying to update a single row and set a date. The query looks like this:
update linked_sql_table
set date_done = date()
where key_value = 'ABC123';
The error message is: "Operation must use an updateable query".
The end users have sufficient priviledges (grant all to users) and access the data using windows authentication. (and I am dbo... and can't do it.)
Alternatively, is there a better way of doing this?
For example: could I place the sql in a stored procedure and execute it with the key value as a variable? (or am I looking for a complex solution to a simple problem?)