Re: Need a little help
Brought to you by:
jeffmurphy
From: Ron T. <ron...@ut...> - 2003-04-28 15:28:34
|
Thanks! That did it! With the help of this list, I'll be an expert in no time. :) Ron Misi Mladoniczky wrote: > > Ron, > > You need quotes around the Field ID: > > $qual = ars_LoadQualifier($ctrl,$SCHEMA,"('1' = \"000000000000003\")")) > > Best Regards - Misi, RRR AB, http://www.rrr.se > > > Hi. > > > > I need a little help this Monday morning. I'm trying to pull in a > > record based on an entry id. I'm using the dump_user.pl as my test > > perl script. When the qualification is 1=1, it works, but when I try > > to query by entry id, I get nothing. > > > > first attempt: > > > > ($qual = ars_LoadQualifier($ctrl,$SCHEMA,"(1 = \"000000000000003\")")) > > || > > die "error in ars_LoadQualifier: $ars_errstr"; > > > > second attempt: > > > > ($qual = ars_LoadQualifier($ctrl,$SCHEMA,"(1 = 000000000000003)")) || > > die "error in ars_LoadQualifier: $ars_errstr"; > > > > call to database: > > > > @entries = ars_GetListEntry($ctrl, $SCHEMA, $qual, 0, > > $loginname_fid, &ARS::AR_SORT_ASCENDING); > > > > > > I wasn't sure if the extra quotes are required arround entry id 3, but > > in either case, I get nothing back. I have left the rest of the code > > alone. Can somebody please point out what I am doing wrong? > > > > > > Thanks! > > Ron > > > > -- > > Ron Tyro > > Scotiabank Information Commmons, University of Toronto > > 130 St. George Street, Toronto, Ontario M5S 3H1 > > ron...@ut... 416-978-0198 > > _______________________________________________ > > Arsperl mailing list > > Ar...@ar... > > To UNSUBCRIBE or change your subscription goto > > > > https://www.arsperl.org:448/mailman/listinfo/arsperl > > > > or, if the above URL doesn't work: > > > > http://www.arsperl.org/mailman/listinfo/arsperl > > _______________________________________________ > Arsperl mailing list > Ar...@ar... > To UNSUBCRIBE or change your subscription goto > > https://www.arsperl.org:448/mailman/listinfo/arsperl > > or, if the above URL doesn't work: > > http://www.arsperl.org/mailman/listinfo/arsperl -- Ron Tyro Scotiabank Information Commmons, University of Toronto 130 St. George Street, Toronto, Ontario M5S 3H1 ron...@ut... 416-978-0198 |