Re: ars_padEntry and ars_GetField
Brought to you by:
jeffmurphy
|
From: Joel M. <jm...@ca...> - 1996-03-30 21:14:17
|
> Can somebody post some sample code where you've gotten this to
> work? I'm having difficulty getting anything meaningful to come
> out of the return of ars_GetField, and no luck with
> ars_padEntry, either.
ars_GetField is probably only useful if you want to write your own
client application. I used it the the www interface. All of its
data structures should be covered (or at least mentioned) in the html
doc.
this will print out a field label, given a schema and a field id:
($field = ars_GetField($ctrl, $schema, $field_id)) || die "get field";
print $field->{displayList}[0]{label}."\n";
this will pad the entry id to 15 characters for the User schema:
$entry_id = ars_padEntryid($c,"User",$entry_id);
by the way, has anyone tried out or had luck with the web client?
joel
|