![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: papulate value based on selection Topic Summary: papulate value based on selection Created On: 16-Nov-2005 21:04 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I have a list of values in the in the attribute A and list of values in the attribute B. If I select a value from the attribute A (ex: XXX). The values in the attribute B related to XXX should display automatically in the attribute B. can any one help me. How to do this using DXL
Thanks Anand |
|
![]() |
|
![]() |
|
Sorry, but I think we need a bit more information to arrive at a solution.
Are A and B enumerated attributes? Are they of the same type? Can A have more than one value (i.e. it is multi-valued)? How are A and B related? Is there a rule? You probably need a DXL attribute for B, but I can't write the code until I understand the question better. ------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
|
![]() |
|
Tony,
I have created Attribute A is enumerated attribute type. Attribute B is not anumerate. Attribute A is not a multi valued. user select only one values from the attribute A column. I may put the attribute B values in the ERRAY. I also may put attribute A values in the another ERRAY. If the user select XXX from the attribute A. Ex. Attribute A Attribute B XXX 0001 YYY 0003 ZZZ 0005 If I select XXX from attribute A column and 0001 should disply in the Attribute B Column automatically. Thanks tony for your help. |
|
![]() |
|
![]() |
|
The attached is DXL code for your DXL attribute.
You need to edit the code so that the name of your attribute A is in quotes on line 4. Put the possible values of attribute A in line 7 put the corresponding values you want for B in line 10. ensure that both arrays have the same number of entries! To create your attribute B: 1. select edit -> attributes 2. click New 3. enter the name, select type String and check the DXL attribute box 4. click Browse 5. click Current 6. paste your DXL into the editor window 7. click Check 8. if all is OK then clik OK 9. click OK again You should now have a column showing B that updates in line with B. Note that DXL attributes are not updated dynamically, you will need to select "refresh DXL attributes" from the tools menu to force an update. ------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
papulate value based on selection
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.