﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Issues  » Access 2007 &amp; Concurrency</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 07 Apr 2026 15:02:32 GMT</lastBuildDate><ttl>20</ttl><item><title>Access 2007 &amp; Concurrency</title><link>http://forum.strataframe.net/FindPost15302.aspx</link><description>I need help trying to figure out why the StrataFrame concurrency exception is not thrown when using a Microsoft Access 2007 database.&lt;br&gt;
I've checked and double checked my settings... When I apply the same thing to an SQL Server everything works fine...  Any ideas?&lt;br&gt;
&lt;br&gt;
Attached is a sample project with the settings I am using.</description><pubDate>Thu, 03 Apr 2008 12:43:04 GMT</pubDate><dc:creator>Crones</dc:creator></item><item><title>RE: Access 2007 &amp; Concurrency</title><link>http://forum.strataframe.net/FindPost15371.aspx</link><description>[quote]&lt;TABLE cellSpacing=0 cellPadding=0 width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class=smalltxt vAlign=top&gt;&lt;SPAN id=ctl02_ctlTopic_ctlPanelBar_ctlTopicsRepeater_ctl14_lblFullMessage&gt;Thanks for the help Trent &amp;amp; Edhy Rijo. Much appreciated.&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;[/quote]&lt;/P&gt;&lt;P&gt;No problem :)</description><pubDate>Thu, 03 Apr 2008 12:43:04 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Access 2007 &amp; Concurrency</title><link>http://forum.strataframe.net/FindPost15370.aspx</link><description>[quote] So far with the help of SF I am doing pretty good with this project and I am sure many things will have to be re-written after the training &lt;IMG title=BigGrin src="http://forum.strataframe.net/Skins/Classic/Images/EmotIcons/BigGrin.gif" align=absMiddle border=0&gt;, but for now, just trying to keep things put &lt;IMG title=Tongue src="http://forum.strataframe.net/Skins/Classic/Images/EmotIcons/Tongue.gif" align=absMiddle border=0&gt; and getting ready for the training.[/quote]&lt;/P&gt;&lt;P&gt;Well, I can already tell you that you will end up on top of things and be successful with your application.&amp;nbsp; You have an open mind and are willing to learn and adopt new things and techniques.&amp;nbsp; This is how you get on the top of the pile!&lt;/P&gt;&lt;P&gt;We live in a continuously changing business and we too are always learning better and more efficient ways to do things...so we refactor our code very often as well.</description><pubDate>Thu, 03 Apr 2008 12:42:46 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Access 2007 &amp; Concurrency</title><link>http://forum.strataframe.net/FindPost15369.aspx</link><description>Thanks for the help Trent &amp; Edhy Rijo.  Much appreciated.</description><pubDate>Thu, 03 Apr 2008 11:01:37 GMT</pubDate><dc:creator>Crones</dc:creator></item><item><title>RE: Access 2007 &amp; Concurrency</title><link>http://forum.strataframe.net/FindPost15368.aspx</link><description>[quote]&lt;P&gt;Regardless of the database, row versioning is &lt;STRONG&gt;&lt;EM&gt;&lt;U&gt;always&lt;/U&gt;&lt;/EM&gt;&lt;/STRONG&gt; the best method as the query is far less complicated than when using all fields.&amp;nbsp; This is actually a section that we cover during training and show the massive differences between using row versioning and any other type of checking. &lt;/P&gt;&lt;P&gt;[/quote]&lt;/P&gt;&lt;P&gt;Trent,&lt;/P&gt;&lt;P&gt;Thanks for the info.&amp;nbsp; I am sure I'll have a lot fun in the training with all the&amp;nbsp;material to cover.&amp;nbsp; So far with the help of SF I am doing pretty good with this project and I am sure many things will have to be re-written after the training :D, but for now, just trying to keep things put :P and getting ready for the training.</description><pubDate>Thu, 03 Apr 2008 10:40:38 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Access 2007 &amp; Concurrency</title><link>http://forum.strataframe.net/FindPost15367.aspx</link><description>[quote]One question, will the Version field be incremented automatically by SF or do we have to update this field in every change of the record to trigger the concurrency rule?[/quote]&lt;/P&gt;&lt;P&gt;It will be auto-managed just as the SQL Server and others do.&lt;/P&gt;&lt;P&gt;[quote]Also what would be the reccomended concurrency rule for MS-SQL2005?&lt;FONT size=1&gt;&lt;BR&gt;&lt;/FONT&gt;[/quote]&lt;/P&gt;&lt;P&gt;Regardless of the database, row versioning is &lt;STRONG&gt;&lt;EM&gt;&lt;U&gt;always&lt;/U&gt;&lt;/EM&gt;&lt;/STRONG&gt; the best method as the query is far less complicated than when using all fields.&amp;nbsp; This is actually a section that we cover during training and show the massive differences between using row versioning and any other type of checking.</description><pubDate>Thu, 03 Apr 2008 10:33:29 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Access 2007 &amp; Concurrency</title><link>http://forum.strataframe.net/FindPost15365.aspx</link><description>[quote][b]Trent L. Taylor (04/03/2008)[/b][hr]The only way that the concurrency will work with Access is by using a row version field.&amp;nbsp; The Optimistic all fields and timestamp options will not work with Access.&amp;nbsp; If you create a row version field and then set the CRUD settings on the BO, it will work.&amp;nbsp; I updated and posted the sample that you had started.&amp;nbsp; When you create the version field, be sure to have all records update with a 0 for teh default value or it will not work.&amp;nbsp; The reason is when you add the new version field it will basically be empty...so it will get overlooked.[/quote]&lt;/P&gt;&lt;P&gt;Hi Trent,&lt;/P&gt;&lt;P&gt;One question, will the Version field be incremented automatically by SF or do we have to update this field in every change of the record to trigger the concurrency rule?&lt;/P&gt;&lt;P&gt;Also what would be the reccomended concurrency rule for MS-SQL2005?</description><pubDate>Thu, 03 Apr 2008 09:53:34 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Access 2007 &amp; Concurrency</title><link>http://forum.strataframe.net/FindPost15364.aspx</link><description>The only way that the concurrency will work with Access is by using a row version field.&amp;nbsp; The Optimistic all fields and timestamp options will not work with Access.&amp;nbsp; If you create a row version field and then set the CRUD settings on the BO, it will work.&amp;nbsp; I updated and posted the sample that you had started.&amp;nbsp; When you create the version field, be sure to have all records update with a 0 for teh default value or it will not work.&amp;nbsp; The reason is when you add the new version field it will basically be empty...so it will get overlooked.</description><pubDate>Thu, 03 Apr 2008 09:28:57 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Access 2007 &amp; Concurrency</title><link>http://forum.strataframe.net/FindPost15358.aspx</link><description>Ok, I am able to duplicate your results.&amp;nbsp; Have you tried with OptimisticTimeStamp or OptimisticRowVersion?&lt;/P&gt;&lt;P&gt;My guess is that somehow Access is either not sending the event or SF is not catching it.</description><pubDate>Wed, 02 Apr 2008 23:24:08 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Access 2007 &amp; Concurrency</title><link>http://forum.strataframe.net/FindPost15357.aspx</link><description>The steps to reproduce what SHOULD cause an concurrency exception is to start the project, and after the form loads and displays the values, open the database with Access and change the values of the table and save the changes.  Then click the save button on the app.&lt;br&gt;
&lt;br&gt;
When I do the same steps using SQLExpress, I get the concurrency exception which is what I need to happen.&lt;br&gt;
&lt;br&gt;
Thanks for checking it out.</description><pubDate>Wed, 02 Apr 2008 23:18:20 GMT</pubDate><dc:creator>Crones</dc:creator></item><item><title>RE: Access 2007 &amp; Concurrency</title><link>http://forum.strataframe.net/FindPost15356.aspx</link><description>Hi Crones,&lt;/P&gt;&lt;P&gt;I willing to test your sample project, please post steps to do the same test you are doing.</description><pubDate>Wed, 02 Apr 2008 23:00:13 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Access 2007 &amp; Concurrency</title><link>http://forum.strataframe.net/FindPost15355.aspx</link><description>Bump :hehe:</description><pubDate>Wed, 02 Apr 2008 20:57:23 GMT</pubDate><dc:creator>Crones</dc:creator></item></channel></rss>