[Arsperl-users] Simple Query
Brought to you by:
jeffmurphy
|
From: David P. <pac...@gm...> - 2008-05-04 07:52:25
|
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
|