<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
xmlns:series="http://unfoldingneurons.com/"
><channel><title>Process Design, from the Outside &#187; Database</title> <atom:link href="http://www.ecadinc.com/PDOteam/index.php/category/database/feed/" rel="self" type="application/rss+xml" /><link>http://www.ecadinc.com/PDOteam</link> <description>Tips, Tricks and Insight into the CADWorx product line</description> <lastBuildDate>Fri, 27 Aug 2010 14:24:00 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.1</generator> <item><title>Sharing SQL Queries</title><link>http://www.ecadinc.com/PDOteam/index.php/2009/11/sharing-sql-queries/</link> <comments>http://www.ecadinc.com/PDOteam/index.php/2009/11/sharing-sql-queries/#comments</comments> <pubDate>Tue, 10 Nov 2009 14:40:00 +0000</pubDate> <dc:creator>Dave Wolfe</dc:creator> <category><![CDATA[Database]]></category> <category><![CDATA[CADWorx Database]]></category> <category><![CDATA[queries]]></category> <category><![CDATA[query]]></category> <category><![CDATA[report]]></category> <category><![CDATA[reports]]></category><guid
isPermaLink="false">http://www.ecadinc.com/PDOteam/index.php/2009/11/sharing-sql-queries/</guid> <description><![CDATA[&#160; Today I wanted to post a tip on how to share queries.&#160; Often users or the PDOTeam will post a query and we want you to know how to use that in your own project (like the query below). &#160; SELECT [Components-Valves].ID_COUNT_, [Components-Valves].DWG_NAME_, [Components-Valves].SIZE_, [Components-Valves].SPEC_, [Components-Valves].CW_RES_01_, [Components-Process Lines].TAG_, [Components-Process Lines].SIZE_ AS [Line Size], IIf([Components-Valves]![SIZE_]=[Line <a
href='http://www.ecadinc.com/PDOteam/index.php/2009/11/sharing-sql-queries/'>[...]</a>]]></description> <content:encoded><![CDATA[<h3>&#160;</h3><p>Today I wanted to post a tip on how to share queries.&#160; Often users or the PDOTeam will post a query and we want you to know how to use that in your own project (like the query below).</p><p>&#160;</p><p>SELECT [Components-Valves].ID_COUNT_, [Components-Valves].DWG_NAME_, [Components-Valves].SIZE_, [Components-Valves].SPEC_, [Components-Valves].CW_RES_01_, [Components-Process Lines].TAG_, [Components-Process Lines].SIZE_ AS [Line Size], IIf([Components-Valves]![SIZE_]=[Line Size],&quot;Y&quot;,&quot;N&quot;) AS [Match] <br
/>FROM [Components-Valves] INNER JOIN [Components-Process Lines] ON [Components-Valves].LINE_ID_1_ = [Components-Process Lines].ID_COUNT_;</p><p>&#160;</p><p>The query above will display a list of the valves and whether or not their size matches the size of the line they are on.&#160; You can quickly see the drawings that have lines you need to fix.&#160;</p><p>Below follows the technique for adding the query to your project database.</p><p>First copy the text to the clipboard.</p><p><a
href="http://www.ecadinc.com/pdoteam/wp-content/uploads/2009/10/clip_image0021.jpg"><img
style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image002" border="0" alt="clip_image002" src="http://www.ecadinc.com/pdoteam/wp-content/uploads/2009/10/clip_image002_thumb1.jpg" width="581" height="81" /></a></p><p>Next, in Access start a new query in Design View from the Create Tab.</p><p><a
href="http://www.ecadinc.com/pdoteam/wp-content/uploads/2009/10/clip_image0041.jpg"><img
style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image004" border="0" alt="clip_image004" src="http://www.ecadinc.com/pdoteam/wp-content/uploads/2009/10/clip_image004_thumb1.jpg" width="571" height="162" /></a></p><p><b><u></u></b></p><p>Close the Show Table dialog, right-click on the header and choose SQL View.</p><p><a
href="http://www.ecadinc.com/pdoteam/wp-content/uploads/2009/10/clip_image0061.jpg"><img
style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image006" border="0" alt="clip_image006" src="http://www.ecadinc.com/pdoteam/wp-content/uploads/2009/10/clip_image006_thumb1.jpg" width="442" height="249" /></a></p><p><b><u><a
href="http://www.ecadinc.com/pdoteam/wp-content/uploads/2009/10/clip_image0081.jpg"><img
style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image008" border="0" alt="clip_image008" src="http://www.ecadinc.com/pdoteam/wp-content/uploads/2009/10/clip_image008_thumb1.jpg" width="579" height="124" /></a></u></b></p><p>Paste the query.</p><p><a
href="http://www.ecadinc.com/pdoteam/wp-content/uploads/2009/10/clip_image0101.jpg"><img
style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image010" border="0" alt="clip_image010" src="http://www.ecadinc.com/pdoteam/wp-content/uploads/2009/10/clip_image010_thumb1.jpg" width="573" height="106" /></a></p><p>Now, you can use the query by saving it and switching to Datasheet view.</p><p><a
href="http://www.ecadinc.com/pdoteam/wp-content/uploads/2009/10/clip_image0121.jpg"><img
style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image012" border="0" alt="clip_image012" src="http://www.ecadinc.com/pdoteam/wp-content/uploads/2009/10/clip_image012_thumb1.jpg" width="577" height="183" /></a></p><p>Don’t forget that Exporting to Excel to produce or sort a query is really easy too.&#160; Just right-click the query from the Navigation pane, highlight export and choose Excel.</p><p><a
href="http://www.ecadinc.com/pdoteam/wp-content/uploads/2009/10/clip_image0141.jpg"><img
style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image014" border="0" alt="clip_image014" src="http://www.ecadinc.com/pdoteam/wp-content/uploads/2009/10/clip_image014_thumb1.jpg" width="478" height="317" /></a></p><p><b><u></u></b></p><p><b><u></u></b></p><p>I hope you find this useful!</p><div
id="crp_related"><h3>Related Posts:</h3><ul><li><a
href="http://www.ecadinc.com/PDOteam/index.php/2009/11/equipment-tags-on-links-in-pid-professional/" rel="bookmark" class="crp_title">Equipment tags on Links in P&amp;ID Professional</a></li><li><a
href="http://www.ecadinc.com/PDOteam/index.php/2010/06/searchingno-results-found/" rel="bookmark" class="crp_title">Searching&hellip;No Results Found</a></li><li><a
href="http://www.ecadinc.com/PDOteam/index.php/2010/06/navisworks-searching/" rel="bookmark" class="crp_title">Navisworks Searching</a></li><li><a
href="http://www.ecadinc.com/PDOteam/index.php/2010/08/changing-text-height-in-cadworx-pid/" rel="bookmark" class="crp_title">Changing Text Height in CADWorx P&amp;ID</a></li><li><a
href="http://www.ecadinc.com/PDOteam/index.php/2009/12/cadworx-properties-palette-by-ecad/" rel="bookmark" class="crp_title">CADWorx Properties Palette by ECAD</a></li></ul></div>]]></content:encoded> <wfw:commentRss>http://www.ecadinc.com/PDOteam/index.php/2009/11/sharing-sql-queries/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Updating The Switchboard Interface With CADWorx P&amp;ID</title><link>http://www.ecadinc.com/PDOteam/index.php/2009/03/updating-the-switchboard-interface-with-cadworx-pid/</link> <comments>http://www.ecadinc.com/PDOteam/index.php/2009/03/updating-the-switchboard-interface-with-cadworx-pid/#comments</comments> <pubDate>Wed, 04 Mar 2009 16:51:00 +0000</pubDate> <dc:creator>Kyle Pope</dc:creator> <category><![CDATA[CADWorx]]></category> <category><![CDATA[Database]]></category> <category><![CDATA[P&ID]]></category> <category><![CDATA[CADWorx Database]]></category> <category><![CDATA[CADWorx P&ID Professional]]></category><guid
isPermaLink="false">http://www.ecadinc.com/PDOteam/index.php/2009/03/updating-the-switchboard-interface-with-cadworx-pid/</guid> <description><![CDATA[If you are running CADWorx P&#038;ID, then chances are you have added or removed fields from the database. This is a great way to really get the information that we need into the drawing, into the database, and more importantly, into the hands of the people that really need the info.Let’s setup a scenario. You’ve added a few Columns to the valve table, and you’ve updated the database.tbl file to make sure that the columns you’ve added show up in the additional data section of the Component Edit Dialog Box.The only problem that we have from this point, is when using the ICES database interface, those fields don’t show up just because we’ve added them into the database and into P&#038;ID.Let me stop here, I’ve made an assumption that you know about adding database columns into the project AFTER you’ve created the project, if this is NOT the case PLEASE let me know. Shoot me an email, or message me somehow and I will be GLAD to help you out with that as well.Now, back to the database, there are a couple of things we need to do to get our information into the ICES switchboard, none of which are difficult.First, we need to find the querry that gathers the information into the switchboard, you can see here where we’ve added in the column VENDOR_ for the Valve TableAnd Here is the Query we need to take a look at:We’ll open this in Design View and add in a query. Out of the box, it will look like this:Now that it’s in the query, we have one more step, and that is tweaking the header of the query to show up in the dialog box in the ICES Switchboard. We’ll modify the first line to look like this:This in turn, will give us the following when we take a look at the switchboard:Notice the Vendor tag at the bottom, ready for you, or a member of your team to populate the data.Not hard, but another situation where we need to know the right steps to get accomplished what we need.Again, if you have any questions PLEASE feel free to contact me.KP]]></description> <content:encoded><![CDATA[<p>&#160;</p><p>If you are running CADWorx P&amp;ID, then chances are you have added or removed fields from the database.&#160; This is a great way to really get the information that we need into the drawing, into the database, and more importantly, into the hands of the people that really need the info.</p><p>Let’s setup a scenario.&#160; You’ve added a few Columns to the valve table, and you’ve updated the database.tbl file to make sure that the columns you’ve added show up in the additional data section of the Component Edit Dialog Box.</p><p>The only problem that we have from this point, is when using the ICES database interface, those fields don’t show up just because we’ve added them into the database and into P&amp;ID.</p><p>Let me stop here, I’ve made an assumption that you know about adding database columns into the project AFTER you’ve created the project, if this is NOT the case PLEASE let me know.&#160; Shoot me an email, or message me somehow and I will be GLAD to help you out with that as well.</p><p>Now, back to the database, there are a couple of things we need to do to get our information into the ICES switchboard, none of which are difficult.&#160;</p><p>First, we need to find the querry that gathers the information into the switchboard, you can see here where we’ve added in the column VENDOR_ for the Valve Table</p><p><a
href="https://yyiepw.bay.livefilestore.com/y1mBQvo4HePSR8CVAlpA3QN25Qqr4KqR65ewl9RmfovNUDEMBPjvHUio3gs_JWW6G8LOxaBofmpXZCTBEjfUnkfNQ1spwcFRt5FLxrIcLmqdFunvlTLcucqLiOyCWU50J56ou57FpHrZaw/image[2].png" rel="WLPP"><img
style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="https://yyiepw.bay.livefilestore.com/y1mtbo-EAJGOUngANrvSUqaont8esB4OGEve9aO0F1KwfCRRTzYp30GA734hepWTPIq5gj16Dxa-4-URLzzgxUOAy_NQkK460d2TFl_QXiaGhYpjmkIecsAtIuihQPZb0xJk-sOZWFHQn8/image_thumb.png" width="244" height="113" /></a></p><p>And Here is the Query we need to take a look at:</p><p><a
href="https://yyiepw.bay.livefilestore.com/y1m_7W9FhSUDlfzPRjA4el5bA1sX_RY08N3pGrPVkZkCAsve6q1RjpAU8GpLm0HRAPbGA7-f_XsGLky0TY5IkUc-YuNGnvNgYgph-kr7oRMZQwypbvMSgc2SRUS2ebpeIFDe-nHfb4hCDs/image[17].png" rel="WLPP"><img
style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="https://yyiepw.bay.livefilestore.com/y1ml-RfRPuTNTq6E5SFjGcPKtuqmv9VQQt7mZvBzNvPGckN3OBDTQqIJO9CNN_Z3HNT8GEQ8cVXrh3NcavoRP5gET_8-OKWsKQGOqDM59KPUjK3bkDX4rdUhiZhP7TW196ufvlEuomZYbQ/image_thumb[5].png" width="244" height="107" /></a></p><p>We’ll open this in Design View and add in a query.&#160; Out of the box, it will look like this:</p><p><a
href="https://yyiepw.bay.livefilestore.com/y1mc4-6feZRJCiKVigesi3WZJvn-RnsLDdHy2d-uwnaBpjSyUWxZjCcg77KCWgmKQ2Oe9CnXNgiD8UR8UTGYeo2ptFiIA-IvG9VBt55frjbMX0AagFC8oi8kDC5P_AsZnLVsvRINVyCEoA/image[8].png" rel="WLPP"><img
style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="https://yyiepw.bay.livefilestore.com/y1m2iiUqP5WacHzf1tV5QlKxb4XXD_sgFLcOLaLTmYGx-zE41DX7zB7meXBAAcYJE-k2gDeY5V_Fvyez1nFv1hGYe2jq5ns_ykFBb_83GxJD40E4ePQyXG-j3X6zB20-EFk08_G_LWI8ec/image_thumb[2].png" width="244" height="215" /></a></p><p>Now that it’s in the query, we have one more step, and that is tweaking the header of the query to show up in the dialog box in the ICES Switchboard.&#160; We’ll modify the first line to look like this:</p><p><a
href="https://yyiepw.bay.livefilestore.com/y1mYrXYPj9g5eHpGlrORdxnfAz6EGS3fL-78FRDzUuPcZ9SaomNDM3Y4bzgGRkhzQ-qRag-XnyirlnNTbcBFNYomnCAOsXDdsHRN4pJuxVTuVyUp3qTpKVdhzJXskv0gWAxs1rlneKj-Bs/image[11].png" rel="WLPP"><img
style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="https://yyiepw.bay.livefilestore.com/y1mQkE4ASTN0v1OgPtQO0ye1-Kjsyb6LGvvAT9XHdoLKGfHvDwZbobsLn6ZSRhANikxnKDxmvNNc6xbmEXrQGV8j6whr_67Cm5AFkQpwMIfhcdn3afWM4lRryD1eEZwlr-xJ4n4E8MHZfo/image_thumb[3].png" width="126" height="214" /></a></p><p>This in turn, will give us the following when we take a look at the switchboard:</p><p><a
href="https://yyiepw.bay.livefilestore.com/y1mUe6f6qwc4fUhGSam31si-atLIFn4lb-GrQM-rec3_A1FNzJbsejksMfGXYrgb_TzCKBdYDy2b99uFZQKdxO6zP47X1v9rvWQySR7tClye8K2htBPZKT2rXP2-ceyO-2I3Itf1OPdSBQ/image[18].png" rel="WLPP"><img
style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="https://yyiepw.bay.livefilestore.com/y1mGt1PMTxkyjYBoKlfIAfPC3te1Hs4r8S18nGi-FqbRgivVpFBp_qky89nV6VJl8vCUI4bZuujWl2KZtxZsTkdIZEYi7Q88Grj8a6T0lD8i-QSRLQjm1rBGcSuAonj9Dy23d9bATjKZR4/image_thumb[6].png" width="232" height="219" /></a></p><p>Notice the Vendor tag at the bottom, ready for you, or a member of your team to populate the data.</p><p>Not hard, but another situation where we need to know the right steps to get accomplished what we need.</p><p>Again, if you have any questions PLEASE feel free to contact me.</p><p>KP</p><div
id="crp_related"><h3>Related Posts:</h3><ul><li><a
href="http://www.ecadinc.com/PDOteam/index.php/2009/04/spools-additional-info-and-what-else/" rel="bookmark" class="crp_title">Spools, Additional Info, and what else?</a></li><li><a
href="http://www.ecadinc.com/PDOteam/index.php/2009/09/isogen-symbol-editing/" rel="bookmark" class="crp_title">ISOGEN Symbol Editing</a></li><li><a
href="http://www.ecadinc.com/PDOteam/index.php/2009/01/nozzles-in-cadworx-plant-pro-to-isogen/" rel="bookmark" class="crp_title">Nozzles in CADWorx Plant Pro to ISOGEN</a></li><li><a
href="http://www.ecadinc.com/PDOteam/index.php/2009/11/equipment-tags-on-links-in-pid-professional/" rel="bookmark" class="crp_title">Equipment tags on Links in P&amp;ID Professional</a></li><li><a
href="http://www.ecadinc.com/PDOteam/index.php/2009/07/cadworx-plant-and-pid-2010-ribbons/" rel="bookmark" class="crp_title">CADWorx Plant and P&#038;ID 2010 Ribbons</a></li></ul></div>]]></content:encoded> <wfw:commentRss>http://www.ecadinc.com/PDOteam/index.php/2009/03/updating-the-switchboard-interface-with-cadworx-pid/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (request URI is rejected)
Database Caching 10/42 queries in 0.065 seconds using disk
Object Caching 981/1023 objects using disk

Served from: www.ecadinc.com @ 2010-09-06 18:22:28 -->