Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Alpha-sort choices in Choice DBE
Topic Summary: Here's how...
Created On: 12-Sep-2008 20:20
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
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.
 12-Sep-2008 20:20
User is offline View Users Profile Print this message


David Jakad

Posts: 94
Joined: 20-Jul-2007

Here is a function that will alpha-sort the choices in a Choice DBE. You can simply insert all the choices in any order into the Choice DBE, then call this function. It works by extracting the choices fromthe DBE, loads them into a string array, sorts the array, empties the DBE, then re-loads the choices into the DBE.

Edited: 12-Sep-2008 at 20:22 by David Jakad
Report this to a Moderator Report this to a Moderator
 15-Sep-2008 13:20
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

You could just store the choices in a skip list and then load the choice DBE from that.

-------------------------
David Pechacek
AAI Services Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
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.