Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need property to take value from another

Status
Not open for further replies.

kristolcrawley

Programmer
Jun 17, 2002
19
US
I have 2 properties. One is the numeric value for a type and the other is the character value. The char has a reference to the numeric value. I'd like the numeric value to be set based on what the char value is. Isn't there a way to copy one property to another? It has to be done from the xml file.


<property category=&quot;Basics&quot; name=&quot;userType&quot; data-type=&quot;enumerated&quot; column-name=&quot;user_type&quot; display-name=&quot;User type&quot;>
<attribute name=&quot;useCodeForValue&quot; value=&quot;false&quot;/>
<option value=&quot;GUEST&quot; code=&quot;0&quot;/>
<option value=&quot;RSL&quot; code=&quot;2&quot;/>
<option value=&quot;RV&quot; code=&quot;4&quot;/>
<option value=&quot;FE&quot; code=&quot;5&quot;/>
<option value=&quot;CSR&quot; code=&quot;100&quot;/>
<option value=&quot;NCCLEAD&quot; code=&quot;120&quot;/>
<option value=&quot;ADMIN&quot; code=&quot;150&quot;/>
<option value=&quot;ITUSER&quot; code=&quot;999&quot;/>
</property>
<property category=&quot;Basics&quot; name=&quot;userTypeCode&quot; data-type=&quot;enumerated&quot; column-name=&quot;user_type_code&quot; display-name=&quot;User type code&quot;>
<attribute name=&quot;useCodeForValue&quot; value=&quot;true&quot;/>
<option value=&quot;GUEST&quot; code=&quot;0&quot;/>
<option value=&quot;RSL&quot; code=&quot;2&quot;/>
<option value=&quot;RV&quot; code=&quot;4&quot;/>
<option value=&quot;FE&quot; code=&quot;5&quot;/>
<option value=&quot;CSR&quot; code=&quot;100&quot;/>
<option value=&quot;NCCLEAD&quot; code=&quot;120&quot;/>
<option value=&quot;ADMIN&quot; code=&quot;150&quot;/>
<option value=&quot;ITUSER&quot; code=&quot;999&quot;/>
</property>
 
I might be able to help you but I did not understand your question.

PLEASE RE-PHRASE

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top