Updating The Switchboard Interface With CADWorx P&ID

 

If you are running CADWorx P&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&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 Table

image

And Here is the Query we need to take a look at:

image

We’ll open this in Design View and add in a query.  Out of the box, it will look like this:

image

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:

image

This in turn, will give us the following when we take a look at the switchboard:

image

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