It looks ok... Don't know that you can include the '$diaryfield_fid' in
the call... Try to leave that out and call back all of the data.
I would :
Verify that the script user has access to read the data
Check by reporting other fields as well
It's common that permissioning would be the cause, since it does not actually
report an error if it cannot read a field (it leaves the variable empty).
P
On Tue, 25 Dec 2001, Sam Thapa wrote:
> **
>
> Hi All,
>
> I am having problem using ars_GetEntry() .
> Can anyone help me .
> I am using ..
>
> %vals = ars_GetEntry($ctrl, $schema, $entryid, $diaryfield_fid) || die
> $ars_errstr;
>
> foreach $diary_entry (@{$vals{$diaryfield_fid}}) {
> print "Inside Foreach... \n";
> print "$diary_entry->{timestamp}\n";
> print "$diary_entry->{user}\n";
> print "$diary_entry->{value}\n";
> }
> It is not printing anything.
> I know that the diary field has some values.
>
> Thanks a lot.
>
> Sam
>
> _____
> Join the world’s largest e-mail service with MSN Hotmail.
> http://www.hotmail.com
>
> _____________________________
>
>
>
_____________________________