Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic System Architect (steve huntington)
Decrease font size
Increase font size
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
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
Answer This question was answered by SA Team, on Friday, May 18, 2007 3:51 PM

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


 17-May-2007 20:08
User is offline View Users Profile Print this message


Jennifer Ericks

Posts: 6
Joined: 2-Nov-2006

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!
Report this to a Moderator Report this to a Moderator
 18-May-2007 11:08
User is offline View Users Profile Print this message


SA Team

Posts: 148
Joined: 18-Nov-2005

Answer 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




-------------------------

Senior Software Developer
Telelogic UK Ltd.
Report this to a Moderator Report this to a Moderator
 18-May-2007 15:52
User is offline View Users Profile Print this message


Jennifer Ericks

Posts: 6
Joined: 2-Nov-2006

Thank you, now my database is error free!
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic System Architect forum.
There are currently 1 users logged in.
The most users ever online was 16 on 30-Oct-2008 at 14:46.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.