AnsweredAssumed Answered

vrf Please can someone explain this?? Enum selection

Question asked by VRFuser on May 20, 2004
Message text written by "Simon Parfitt"
>I am trying to take the output of one list box and use it as a Enum
default
values for another box. But unless you convert the Enum to text the whole
list is input to new box. Two examples are shown. The enum values need to
be
cleared from the sec list before you run the functions.  simon<

Well, that is interesting Simon, but not that odd.  As you know, VEE has
lots of different 'containers' as intelligent ways of passing data around -
and here you have passed on an Enum which has an ordinal number of that
selected, hence your 'target' list shows the whole list ( the Enum ) with
the correct value selected ( the ordinal value ).  Pretty darned neat, if
you ask me.

To do what you want, try putting the Enum through a formula
asText(EnumValue).


Cheers,

Mike Watts

_______________________________________________________________________

  Michael J. Watts Consultant                               PO Box 92
                                                               Exeter
  e-mail: MikeJWatts@CompuServe.Com                             Devon
  tel: 07714 339 729                                          EX4 2YY
_______________________________________________________________________

---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".

Outcomes