Microsoft Access Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMicrosoft Access Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old November 9th, 2004, 04:51 AM
alpnzadmin alpnzadmin is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 1 alpnzadmin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Post Client/Server Write Conflicts

Over the last 5 years I have developed a very useful set of tools for a Fruit Packing Shed. One tool allows various documents to be printed in relation to a large number of casual employees. We now require multiple entry to enable speedier document delivery. Therefore I have installed a MSSQL server, and upsized etc. However, now when we add a new employee, we get the new employee, however we cannot edit and change after the first creation. NOTE at this stage only one user is accessing the data.

We get a message Write Conflict, another user is editing type of message, and given the opportunity to copy to the clipboard etc. In the Access Help system, it states that no matter what the Record Lock setting is in Access it will revert to the SQL servers settings. What I suspect is happening is that Access is updating the record before we have completed editing, and then compares the data and assumes someone else is editing it, (But of course they are not), and therefore offers a graceful exit. How do we get Access to NOT see the changed record as being edited by someone else?.. very weird question, and I know I am going to enjoy the answer.

Many thanks in advance.

JD

Addendum:
After some trolling about, it appeared that adding a timestamp to a table, helps access handle this type of situation. And it does !!, no other changes to the data table or form were required, I simply added a field to the table on the SQL Server, called timestamp, with the attribute set to timestamp, and voila, editable data again.

Can anyone explain to me why, as I do not seem to be able to find much from M$

Last edited by alpnzadmin : November 10th, 2004 at 10:43 AM. Reason: Addendum:

Reply With Quote
  #2  
Old November 22nd, 2004, 10:07 AM
sherrington sherrington is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 85 sherrington User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 h 4 m 52 sec
Reputation Power: 5
There appear to be two possible reasons

1. There is a bit field without a default. Access shows null bit fields as false. When the write back is attempted False <> Null so SQL thinks the record is changed!

2. Some numbers held as floats do not have an absolute value! Again SQL thinks the number has changed!

NOt really explanations - but MS thinks so!

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMicrosoft Access Development > Client/Server Write Conflicts


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway