![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Check Multilist DBE selection Topic Summary: Created On: 10-Aug-2006 22:10 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Change: print selAttr "\n" to: print selecteditem "\n" That should give you the results you need. Also, you should explicitly define selecteditem as a string. It looks like it is being implicitly defined. | |
![]() |
|
Hi All,
I created a multilist DBE and in which I selected 4 items. When I run the following code to check the validity of the items selected, I do not get the names of all the items. If I select 4 items, the count is given as 4, but the name of the last selected item is repeated four times. Has anyone found similar problem? And how to get around the same? for selecteditem in (DBE name) do { (count)++ print (item name) "\n" } print (count) Thanks in advance. - Krishna |
|
![]() |
|
![]() |
|
Try:
print selecteditem "\n" selecteditem should be a string. ------------------------- Shawn Stepper shawn.e.stepper@wellsfargo.com |
|
![]() |
|
![]() |
|
Hi Shawn, |
|
![]() |
|
![]() |
|
Change:
print selAttr "\n" to: print selecteditem "\n" That should give you the results you need. Also, you should explicitly define selecteditem as a string. It looks like it is being implicitly defined. ------------------------- Shawn Stepper shawn.e.stepper@wellsfargo.com |
|
![]() |
|
![]() |
|
Thanks a lot. That works. |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Check Multilist DBE selection
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.