ars_GetFieldTable(control,schema)
This function is a combination of ars_GetListField and ars_GetField.
It populates a hash (associative array) with field names and
values. The keys of the hash are the field names, and the values of the
hash are the field ids.
- On success
-
Returns a hash of all fields in the schema.
- On failure
-
Returns
undef
.
Example:
(%fields = ars_GetFieldTable($c, "User")) || die $ars_errstr;
$id = $fields{"Login name"};
Back to Table of Contents