<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.method.me/cs/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Method:Classic General Q&amp;amp;A</title><link>http://forums.method.me/cs/forums/13.aspx</link><description>Ask technical support questions, how do I? Questions... Or anything else you want to know from the Method Team and other Method users.</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 SP2 (Build: 31113.47)</generator><item><title>Re: Getting Violation of UNIQUE KEY constraint error.</title><link>http://forums.method.me/cs/forums/thread/905.aspx</link><pubDate>Wed, 08 Jul 2009 13:01:54 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:905</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/905.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=905</wfw:commentRss><description>&lt;p&gt;&lt;i&gt;James emailed back the following response:&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;I did make the change you suggested and the error did go away; however, it then caused a new log to be created every time the work order was opened...even if a log had already been created for that work order in a previos session. Even though a pool service log exists...the screen behaves as though it doesn&amp;#39;t and creates a new log.&amp;nbsp; By removing the unique requirement, multiple logs are created for a single work order.&lt;br /&gt;&lt;br /&gt;I guess i can just combine all the fields i have in my pool log table and add them directly to the activity table. That would solve the issue but it still doesnt answer the question as to what broke my screen in the first place. I hate the thought of all the work I put in that has to be redone. I also suspect that the method upgrade is to blame but I have try to&amp;nbsp;&amp;nbsp;&amp;nbsp; spend my time to fix it.&amp;nbsp; On the other hand, I understand that your company cant be held accountable for poorly designed screens created by your clients.&lt;br /&gt;&lt;br /&gt;For now, I will probably just add my pool log fields to the activity table. If I change my mind, I will call my account representative.&lt;br /&gt;&lt;br /&gt;Thanks for getting bck to me.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Getting Violation of UNIQUE KEY constraint error.</title><link>http://forums.method.me/cs/forums/thread/900.aspx</link><pubDate>Tue, 07 Jul 2009 21:57:47 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:900</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/900.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=900</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;James,&lt;/p&gt;
&lt;p&gt;If the field is set to allow for non-unique values, then you shouldn&amp;#39;t receive this error message anymore, no matter if you refresh your&amp;nbsp;browser or not.&amp;nbsp;If you&amp;#39;d like I can log into your account and do some quick&amp;nbsp;testing. &lt;/p&gt;
&lt;p&gt;Otherwise you can set up a training session with your account representative and go over the issue with him along with any other questions you may have. If it does turn out to be an issue on our end you will be re-imburse for the training session, if not we&amp;#39;ll at least set up the page to work properly for you.&lt;/p&gt;
&lt;p&gt;Let us know how you would like to proceed.&lt;/p&gt;</description></item><item><title>Re: Getting Violation of UNIQUE KEY constraint error.</title><link>http://forums.method.me/cs/forums/thread/895.aspx</link><pubDate>Tue, 07 Jul 2009 16:42:26 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:895</guid><dc:creator>1strate</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/895.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=895</wfw:commentRss><description>&lt;p&gt;Peter,&lt;/p&gt;
&lt;p&gt;That has always been set that way and the screen worked great for several weeks. Not only that, when I refresh my browser, I don&amp;#39;t get the error. &amp;nbsp;I would really like to work with support to resolve this issue...even if it turns out that it is a result of my own modifications to the screen--I&amp;#39;m willing to pay.&lt;/p&gt;</description></item><item><title>Re: Getting Violation of UNIQUE KEY constraint error.</title><link>http://forums.method.me/cs/forums/thread/872.aspx</link><pubDate>Fri, 03 Jul 2009 13:16:53 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:872</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/872.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=872</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;James,&lt;/p&gt;
&lt;p&gt;It appears you&amp;#39;ve set the ActivityNo to only accept unique values in the PoolServiceLog.&amp;nbsp;All you have to do is make the ActivityNo field in the PoolServiceLog table to not unique.&lt;/p&gt;
&lt;p&gt;Perform the following steps.&lt;/p&gt;
&lt;p&gt;1. In Method Go to Customize &amp;gt; Table and Fields&lt;/p&gt;
&lt;p&gt;2. Select the PoolServiceLog table.&lt;/p&gt;
&lt;p&gt;3. Find the ActivityNo field.&lt;/p&gt;
&lt;p&gt;4. Uncheck the Unique? checkox.&lt;/p&gt;
&lt;p&gt;5. Click Save changes.&lt;/p&gt;
&lt;p&gt;6. Click Finished Editing Fields.&lt;/p&gt;
&lt;p&gt;Now you should be able to save the changes.&lt;/p&gt;</description></item><item><title>Getting Violation of UNIQUE KEY constraint error.</title><link>http://forums.method.me/cs/forums/thread/840.aspx</link><pubDate>Tue, 30 Jun 2009 15:56:22 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:840</guid><dc:creator>1strate</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/840.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=840</wfw:commentRss><description>&lt;p&gt;&lt;span style="font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;font-size:10pt;"&gt;Since this weekend&amp;#39;s update, I&amp;#39;ve been sporadically getting a the following error when updating a service log I created.&amp;nbsp; The screen worked great for a few weeks prior to the this weekend&amp;#39;s push.&amp;nbsp; I made some minor changes but they shouldn&amp;#39;t have caused this error and when tested...they worked fine.&amp;nbsp;I also tried a&amp;nbsp;couple of different screen versions but I still get the&amp;nbsp;error.&amp;nbsp; It is also sporadic and hard to&amp;nbsp;reliably duplicate.&amp;nbsp;I don&amp;#39;t want to undo hours of work only to determine that it might be something related to the weekends update.&amp;nbsp; The error is:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;font-size:10pt;"&gt;&amp;nbsp;&amp;quot;Viloation of UNIQUE KEY constraint &amp;#39;PoolServiceLog_ActivityNoRef_unique&amp;#39;. Cannot insert duplicate key in object &amp;#39;dbo.PoolServiceLog&amp;#39;. The statement has been terminated.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;font-size:10pt;"&gt;Additional Information &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;font-size:10pt;"&gt;Action Sequence Order:53&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;font-size:10pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;font-size:10pt;"&gt;I&amp;#39;m currently using the screen FieldService_AddEditWorkOrder_Live_Backup062609_live and getting the error.&amp;nbsp; I also get the error with the older versions.&amp;nbsp; I assume that the error is telling me that I can&amp;#39;t create a new record because it thinks one already exists; however, in reality...it doesn&amp;#39;t exist.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;font-size:10pt;"&gt;Background:&amp;nbsp; I added a section on this screen that takes user input and creates a Pool Service Log entry (when one doesn&amp;#39;t exists) or updates the log entry (if one does exists).&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;font-size:10pt;"&gt;Any guidance would be greatly appreciated.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;font-size:10pt;"&gt;James Stapleton&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;font-size:10pt;"&gt;Update:&amp;nbsp; I will be adding this entry into the QXpress Online forum.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>