PDA

View Full Version : Delete the P&ID object, but not the record



ammdumas
04-04-2006, 07:38 AM
Hey guys,

Talked to our regional rep last week. He said there was a setting in P&ID that allows you to delete an object off a P&ID drawing but keep the data record associated with it. Anybody know where this setting is? :?

This is especially important for our I&W users who are constanly having to purge orphaned datasheets, etc. when a record is deleted as a result of deleting the object in P&ID. If I can allow them to delete the record themselves, it will save alot of back and forth between the P&ID users and I&W users.

Thanks.

tw_echo
04-04-2006, 08:14 AM
ammdumas,
The setting you are looking for, has to be set in Project Administrator for your specific project. The steps are: Select Project Node --> Project (confusing) --> Hit the 'Preferences' button. This will display the 'Project Properties' form. Select the 'Project' tab and within the 'Project .ini Values' box you should see a variable called DeleteTagNumbers, change its value from 'Yes' to 'No'.
What this does is when you now delete an instrumentation tag, it toggles the PROJ_STAT field in the INSTR table from 'REN' or 'NEW' to 'DEL', while maintaining the tags data. NOTE: if you have any customized view you will have to included criteria to exclude records with 'DEL' status. In addition, I would also go and clean out records with 'DEL' status occasionaly, just to keep a clean database.

Tim...

ammdumas
04-04-2006, 08:20 AM
Huh. Would've never figured that one out. :lol: But simple enough. Tanks!