{"id":500,"date":"2013-03-11T13:22:41","date_gmt":"2013-03-11T18:22:41","guid":{"rendered":"https:\/\/danvanfleet.com\/?p=500"},"modified":"2013-03-23T16:08:45","modified_gmt":"2013-03-23T21:08:45","slug":"softpro-proform-standard-mdb-to-sql-upgrade","status":"publish","type":"post","link":"https:\/\/danvanfleet.com\/index.php\/softpro-proform-standard-mdb-to-sql-upgrade\/","title":{"rendered":"SoftPro ProForm Standard MDB to SQL upgrade"},"content":{"rendered":"<p>There are things that need checked after converting a database from Access to SQL with <a href=\"http:\/\/SoftProCorp.com\" target=\"_blank\">SoftPro<\/a> Standard.&nbsp; I&#8217;ve been through a couple of these, there are things to watch out for. Once the data is converted and with each database showing no unfixed issued during the conversion process, there are some additional items that need done, or checked.<\/p>\n<p><!--more--><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/danvanfleet.com\/wp-content\/uploads\/2013\/03\/image.png\"><img data-recalc-dims=\"1\" decoding=\"async\" style=\"border-right-width: 0px; margin: 0px 10px 0px 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"image\" border=\"0\" alt=\"image\" align=\"left\" src=\"https:\/\/i0.wp.com\/danvanfleet.com\/wp-content\/uploads\/2013\/03\/image_thumb.png?resize=146%2C92\" width=\"146\" height=\"92\"><\/a> First the File Numbering Manager is may be reset to the default of something like yySSSSS, Change that in SPAdmin under Preferences, to your previous file numbering format. <\/p>\n<p>&nbsp;<\/p>\n<p>The other things under Preferences are normally set correctly but they are worth mentioning. <a href=\"https:\/\/i0.wp.com\/danvanfleet.com\/wp-content\/uploads\/2013\/03\/image1.png\"><img data-recalc-dims=\"1\" decoding=\"async\" style=\"border-right-width: 0px; margin: 0px 10px 0px 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"image\" border=\"0\" alt=\"image\" align=\"left\" src=\"https:\/\/i0.wp.com\/danvanfleet.com\/wp-content\/uploads\/2013\/03\/image_thumb1.png?resize=411%2C87\" width=\"411\" height=\"87\"><\/a> First verify the Directories are set correctly.<\/p>\n<p>If you don&#8217;t know what they should be set to, here&#8217;s what I know.&nbsp; A default installation will have everything except Data Files Directory set to your <a href=\"http:\/\/SoftProCorp.com\" target=\"_blank\">SoftPro<\/a> Shared Folder. If you have a consistent mapped path as the example shows, use that mapped path.&nbsp; Otherwise you&#8217;ll be entering a UNC Path, something like <a href=\"file:\/\/\\\\SBS2011\\SoftPro\\\">\\\\SBS2011\\<a href=\"http:\/\/SoftProCorp.com\" target=\"_blank\">SoftPro<\/a>\\<\/a> works fine. Many times this is a UNC path, which I highly recommend not using for Data Files Directory.<\/p>\n<p>&nbsp;<a href=\"https:\/\/i0.wp.com\/danvanfleet.com\/wp-content\/uploads\/2013\/03\/image2.png\"><img data-recalc-dims=\"1\" fetchpriority=\"high\" decoding=\"async\" style=\"border-right-width: 0px; margin: 0px 10px 0px 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"image\" border=\"0\" alt=\"image\" align=\"left\" src=\"https:\/\/i0.wp.com\/danvanfleet.com\/wp-content\/uploads\/2013\/03\/image_thumb2.png?resize=363%2C151\" width=\"363\" height=\"151\"><\/a> <\/p>\n<p>Make sure the Default Template and GFE Template are properly set. <\/p>\n<p>Verify the other options are as you expect them to me.&nbsp; The sample is how I expect it.<\/p>\n<p>Next Click on Global Preferences<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/danvanfleet.com\/wp-content\/uploads\/2013\/03\/image3.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; margin: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"image\" border=\"0\" alt=\"image\" src=\"https:\/\/i0.wp.com\/danvanfleet.com\/wp-content\/uploads\/2013\/03\/image_thumb3.png?resize=441%2C133\" width=\"441\" height=\"133\"><\/a> <\/p>\n<p>If Default to GFE Files in 2010 Should be selected, be sure it is.&nbsp; This was the second thing that was missed during the most recent conversion.&nbsp; If you use ProScheduler check that setup screen, my clients tend to use <a href=\"http:\/\/softprocalendar.com\/\" target=\"_blank\">ProCal<\/a> an automatic calendaring system for ProForm which we built. It&#8217;s pretty cool, it even has merge to email.<\/p>\n<p>This next item won&#8217;t apply if you don&#8217;t run Pro1099.&nbsp; If you do, there is some information <a href=\"https:\/\/i0.wp.com\/danvanfleet.com\/wp-content\/uploads\/2013\/03\/image4.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; margin: 0px 10px 0px 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"image\" border=\"0\" alt=\"image\" align=\"left\" src=\"https:\/\/i0.wp.com\/danvanfleet.com\/wp-content\/uploads\/2013\/03\/image_thumb4.png?resize=265%2C144\" width=\"265\" height=\"144\"><\/a>that needs updated in Pro1099. <\/p>\n<p>Start Pro1099 and navigate to the Tools -&gt; Preferences window. If it&#8217;s blank like this example, fill it out, then we need to update a database field.<\/p>\n<p>&nbsp;<\/p>\n<p>Start Microsoft SQL Server Manager<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/danvanfleet.com\/wp-content\/uploads\/2013\/03\/image5.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; margin: 0px 10px 0px 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"image\" border=\"0\" alt=\"image\" align=\"left\" src=\"https:\/\/i0.wp.com\/danvanfleet.com\/wp-content\/uploads\/2013\/03\/image_thumb5.png?resize=296%2C210\" width=\"296\" height=\"210\"><\/a>Navigate to your <a href=\"http:\/\/SoftProCorp.com\" target=\"_blank\">SoftPro<\/a> instance, or the default instance, then to the Pro1099 table and finally the P1WinSetup Table<\/p>\n<p>Select Edit Top nnnn Rows, <\/p>\n<p><a href=\"https:\/\/i0.wp.com\/danvanfleet.com\/wp-content\/uploads\/2013\/03\/image6.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; margin: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"image\" border=\"0\" alt=\"image\" src=\"https:\/\/i0.wp.com\/danvanfleet.com\/wp-content\/uploads\/2013\/03\/image_thumb6.png?resize=259%2C60\" width=\"259\" height=\"60\"><\/a> <\/p>\n<p>Notate the column HighLockFile, if it&#8217;s 00000001 it needs updated.<\/p>\n<p>To determine the proper value Click on New Query <a href=\"https:\/\/i0.wp.com\/danvanfleet.com\/wp-content\/uploads\/2013\/03\/image7.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; margin: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"image\" border=\"0\" alt=\"image\" src=\"https:\/\/i0.wp.com\/danvanfleet.com\/wp-content\/uploads\/2013\/03\/image_thumb7.png?resize=108%2C36\" width=\"108\" height=\"36\"><\/a> <\/p>\n<p>&nbsp;<\/p>\n<p>Put this in the Query Window<\/p>\n<p>Use Pro1099<br \/>Select LockFile from P1Win order&nbsp; by P1Win.lockfile Desc  <\/p>\n<p><a href=\"https:\/\/i0.wp.com\/danvanfleet.com\/wp-content\/uploads\/2013\/03\/image8.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; margin: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"image\" border=\"0\" alt=\"image\" src=\"https:\/\/i0.wp.com\/danvanfleet.com\/wp-content\/uploads\/2013\/03\/image_thumb8.png?resize=398%2C184\" width=\"398\" height=\"184\"><\/a> <\/p>\n<p>&nbsp; Click Execute <a href=\"https:\/\/i0.wp.com\/danvanfleet.com\/wp-content\/uploads\/2013\/03\/image9.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; margin: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"image\" border=\"0\" alt=\"image\" src=\"https:\/\/i0.wp.com\/danvanfleet.com\/wp-content\/uploads\/2013\/03\/image_thumb9.png?resize=75%2C33\" width=\"75\" height=\"33\"><\/a> <\/p>\n<p><a href=\"https:\/\/i0.wp.com\/danvanfleet.com\/wp-content\/uploads\/2013\/03\/image10.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; margin: 0px 10px 0px 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"image\" border=\"0\" alt=\"image\" align=\"left\" src=\"https:\/\/i0.wp.com\/danvanfleet.com\/wp-content\/uploads\/2013\/03\/image_thumb10.png?resize=244%2C220\" width=\"244\" height=\"220\"><\/a> <\/p>\n<\/p>\n<\/p>\n<\/p>\n<\/p>\n<\/p>\n<p>And the Query results will show the lock file column with the highest one at the top.<\/p>\n<p>That is the value that we need in this case it is 000002PR.&nbsp; So right click on that and select Copy<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/danvanfleet.com\/wp-content\/uploads\/2013\/03\/image11.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; margin: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"image\" border=\"0\" alt=\"image\" src=\"https:\/\/i0.wp.com\/danvanfleet.com\/wp-content\/uploads\/2013\/03\/image_thumb11.png?resize=222%2C85\" width=\"222\" height=\"85\"><\/a> <\/p>\n<p>&nbsp;<\/p>\n<p>Now we have the value we need in the Copy Paste buffer.&nbsp; Select the P1WinSetup Table and paste the value in the HighLockFile column&#8217;s only row, or most current row as described by the VersionDate Column.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/danvanfleet.com\/wp-content\/uploads\/2013\/03\/image12.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; margin: 0px 10px 0px 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"image\" border=\"0\" alt=\"image\" align=\"left\" src=\"https:\/\/i0.wp.com\/danvanfleet.com\/wp-content\/uploads\/2013\/03\/image_thumb12.png?resize=252%2C100\" width=\"252\" height=\"100\"><\/a> <\/p>\n<p>&nbsp;<\/p>\n<p>Usually there is only one row.<\/p>\n<p>&nbsp;<\/p>\n<p>An issue here will show itself as a Pro1099 Error (P1WIN-042) Violation of Primary Key constraint &#8216;Pk_P1Win&#8221;. Could not insert duplicate key in object &#8216;dob.P1Win&#8217;. TheSelec duplicate key value is (00000001)<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/danvanfleet.com\/wp-content\/uploads\/2013\/03\/image13.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; margin: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"image\" border=\"0\" alt=\"image\" src=\"https:\/\/i0.wp.com\/danvanfleet.com\/wp-content\/uploads\/2013\/03\/image_thumb13.png?resize=288%2C152\" width=\"288\" height=\"152\"><\/a> <\/p>\n<p>Update the HighLockFile column to fix.&nbsp; <\/p>\n<p>ProTrust also has a HighLockFile and may experience the same sort of error message.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/danvanfleet.com\/wp-content\/uploads\/2013\/03\/image14.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; margin: 0px 5px 0px 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"image\" border=\"0\" alt=\"image\" align=\"right\" src=\"https:\/\/i0.wp.com\/danvanfleet.com\/wp-content\/uploads\/2013\/03\/image_thumb14.png?resize=329%2C222\" width=\"329\" height=\"222\"><\/a>Run the following SQL Command<\/p>\n<p>Use ProTrust<br \/>Select lockfile from PtWin order by PTWin.lockfile Desc  <\/p>\n<p>To find the high lock file.<\/p>\n<p>Click Execute as above to see the Results.<\/p>\n<p>Place the highest High Lock from the&nbsp; query in&nbsp; PtWinSetup&#8217;s HighLockFile column of the most current row. This one wasn&#8217;t on today&#8217;s table of issues, I&#8217;ve seen it before and wanted to mention it.<\/p>\n<p>So those are some of the issues that we&#8217;ve run across when updating ProForm Standard 12.2 from using Microsoft Access data tables, to using Microsoft SQL data tables.&nbsp; We&#8217;re not using ProIndex, I expect the same sort of issue HighLockFile to exist there also.&nbsp; One of the beautiful things about ProForm is the consistency of the product.&nbsp; Select, Enterprise, Standard all follow a consistent pattern, clearly Select has it&#8217;s own pattern, and is more consistent, but they all duplicate thoughts well across themselves.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are things that need checked after converting a database from Access to SQL with SoftPro Standard.&nbsp; I&#8217;ve been through a couple of these, there are things to watch out for. Once the data is converted and with each database showing no unfixed issued during the conversion process, there are some additional items that need [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[3,23],"tags":[6,21,8],"class_list":["post-500","post","type-post","status-publish","format-standard","hentry","category-general","category-softpro-2","tag-error","tag-proform","tag-softpro","entry"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4wyVb-84","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/danvanfleet.com\/index.php\/wp-json\/wp\/v2\/posts\/500","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/danvanfleet.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/danvanfleet.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/danvanfleet.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/danvanfleet.com\/index.php\/wp-json\/wp\/v2\/comments?post=500"}],"version-history":[{"count":3,"href":"https:\/\/danvanfleet.com\/index.php\/wp-json\/wp\/v2\/posts\/500\/revisions"}],"predecessor-version":[{"id":537,"href":"https:\/\/danvanfleet.com\/index.php\/wp-json\/wp\/v2\/posts\/500\/revisions\/537"}],"wp:attachment":[{"href":"https:\/\/danvanfleet.com\/index.php\/wp-json\/wp\/v2\/media?parent=500"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/danvanfleet.com\/index.php\/wp-json\/wp\/v2\/categories?post=500"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/danvanfleet.com\/index.php\/wp-json\/wp\/v2\/tags?post=500"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}