Re: [Arsperl-users] Simple Query
Brought to you by:
jeffmurphy
|
From: Mark V. <mar...@co...> - 2008-05-05 00:52:29
|
What is $ars_errstr after calling ars_Login?
Thanks,
Mark Vaughan
303.471.9987 (home)
303.601.4434 (mobile)
_____
From: ars...@ar...
[mailto:ars...@ar...] On Behalf Of David Pack
Sent: Sunday, May 04, 2008 1:46 AM
To: ars...@ar...
Subject: [Arsperl-users] Simple Query
I'm trying to run a simple query but I get this error every time:
"ctrl is not of type ARControlStructPtr"
Here is the script:
use ARS;
my $prodServer = "www";
my $arUser = "xxx";
my $arPassword = "yyy"
my $form = "zzz";
my $c = ars_Login($prodServer, $arUser, $arPassword, undef, undef, 20006,
undef);
my $qualString = q { 'Status' = "PENDING" AND 'Assign Group' = "SOC" } ;
my $qual = ars_LoadQualifier($c, $form, $qualString);
my @entry = ars_GetListEntry($c, $form, $qual, 0, 0);
Does anyone know what I'm doing wrong?
Thanks in advance,
Dave
|