ars_GetFieldByName(control,schema,field_name)

This is a shortcut function that combine ars_GetListField and ars_GetField. Given a schema name and field name, it returns the field id. If you need more than a few field id's, use ars_GetFieldTable.

On success
Returns the field id.
On failure
Returns undef.

Example:

    
      $id = ars_GetFieldByName($c, "User", "Login name");
      

<-- Back to Table of Contents