Check these out...

http://communities.bmc.com/communities/message/80328?tstart=0
http://communities.bmc.com/communities/message/69002;jsessionid=6D5C8E6C4E2040625EA2A28E5108F74C

>>>
//1. get the field defiintion to get at the limit definition
SelectionFieldLimit limit = ((SelectionField)context.getField(form,
7)).getLimit(); // or some thing like that.

// your code to get an entry
List<Entry> entries = context.getListEntryObjects(form, qualification, 0,
999, null, fieldIDsToRetrieve, false, matches);
Entry entry = entries.get(0);
int val = entry.get(7).getValue();

//Now match this int value to the enumeration using the 'limit'
    // doing this lookup in Java API is more type-safe, in .NET API isn't
bad either
    // just look at the 'limit' object in your VS.NET debugger to get what
you need!
<<<

HTH
appajee

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are"

Reply via email to