It's under the "limit" key of the field definition.
use Data::Dumper; $fv = ars_GetField($ctrl, $schema, $fieldID); if ($fv->{'dataType'} eq "enum") { print Dumer($fv->{'limit'}), "\n"; } On Dec 3, 2008, at 6:25 PM, Franklin Lee wrote:
For a given field of an enumerated data type, I want to create a mappingfrom the number to the text label. I see there is a method getEnumValues() that can be used with an ARSobject, but I would prefer to use a non-OO function (I am having troublegetting the connection object to work but ars_Login seems to work). Any suggestions?
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
-- Arsperl-users mailing list Arsperl-users@arsperl.org https://lists.sourceforge.net/lists/listinfo/arsperl-users