![]() |
Telelogic System Architect (steve huntington) | ![]() |
Topic Title: Access Path Definition - How do I delete? Topic Summary: Deleting an Access Path Definition (no associated Entity definition) Created On: 17-May-2007 20:08 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Hi Your item appears to have become orphaned. There may be other ways to remove it, but the only one which springs to mind is to run a macro. If you are confident using this then :- 1. ** BACKUP your encyclopedia ** 2. Create a new macro project 3. Add a new module 4. Paste the code into the module 5. Run the subroutine 'DeleteItem' 6. CHECK the item to delete looks correct!!! 7. Press Yes if happy. Please be VERY careful with this function. It will delete any item in you encyclopedia by its ID. I have put in the ID which you have reported in your question - BUT please CHECK the item details reported in the message box before pressing OK. I suggest you backup your encyclopedia before running this - as this code is provided 'as is' and without warrantee. Hope this helps Ian | |
![]() |
|
The Access Path definition is linked to the Entity definition and typically they are created and deleted as a pair. Some how I have an Access Path definition without an associated Entity. When I right click on it and try to delete it, I get the following message.
An object of type 'Access Path' must be edited from its containing 'Entity' object. The containing Entity object will be opened for you. (then i click okay) Could not access definition. Everytime I run the "Verify & Repair Tool" I get the following 2 errors: Error: Id 171662 <_PK> (Definition, Access Path) is missing key property "Model" (Definition, Project Data Model) Error: Id 171662 <_PK> (Definition, Access Path) is missing key property "Entity Name" (Definition, Entity) The "Dictionary Update" does not resolve this problem either. Help! |
|
![]() |
|
![]() |
|
Hi
Your item appears to have become orphaned. There may be other ways to remove it, but the only one which springs to mind is to run a macro. If you are confident using this then :- 1. ** BACKUP your encyclopedia ** 2. Create a new macro project 3. Add a new module 4. Paste the code into the module 5. Run the subroutine 'DeleteItem' 6. CHECK the item to delete looks correct!!! 7. Press Yes if happy. Please be VERY careful with this function. It will delete any item in you encyclopedia by its ID. I have put in the ID which you have reported in your question - BUT please CHECK the item details reported in the message box before pressing OK. I suggest you backup your encyclopedia before running this - as this code is provided 'as is' and without warrantee. Hope this helps Ian ------------------------- Senior Software Developer Telelogic UK Ltd. |
|
![]() |
|
![]() |
|
Thank you, now my database is error free!
|
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.