Re: Cannot edit data in a Query
- From: John Spencer <spencer@xxxxxxxxx>
- Date: Tue, 21 Oct 2008 07:48:05 -0400
I would check the SQL Database table and make sure it has a primary key AND that it has a timestamp field (also known as a RowID). A field with the data type of timestamp is not a datetime field but a specific type of field that is not user changeable
From SQL Books on Line
TimeStamp is a data type that exposes automatically generated, unique binary numbers within a database. timestamp is generally used as a mechanism for version-stamping table rows. The storage size is 8 bytes.
Mu understanding (could be wrong)
Access in consjunction with MS SQL Server uses the value to determine if a row has been changed or not. If Access does not see a timestamp field it cannot determine if the row it has fetched and is working on has been changed or not by someone else. So Access won't update the row.
John Spencer
Access MVP 2002-2005, 2007-2008
The Hilltop Institute
University of Maryland Baltimore County
Bruce wrote:
I am running Access 2007. I have written a query to a linked table (AssetMaster) that resides in a SQL Database (SQL Server 2005). I can enter or change data in a field for one record (it does not matter if I refresh, I still can only update this one record), but once I move from that record to another record to either update or enter new data I get the Write Conflict error message box. The save record option is grayed out and not available as one of the options. I have tried all of the suggestions listed in the online help, but to no avail. I need some help..
Bruce
- Follow-Ups:
- Re: Cannot edit data in a Query
- From: Bruce
- Re: Cannot edit data in a Query
- From: Bruce
- Re: Cannot edit data in a Query
- From: Bruce
- Re: Cannot edit data in a Query
- References:
- Cannot edit data in a Query
- From: Bruce
- Cannot edit data in a Query
- Prev by Date: Re: IIF IsNull in a SQL not working.
- Next by Date: RE: IIF IsNull in a SQL not working.
- Previous by thread: Cannot edit data in a Query
- Next by thread: Re: Cannot edit data in a Query
- Index(es):
Relevant Pages
|