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
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Arsperl-users mailing list
Arsperl-users@arsperl.org
https://lists.sourceforge.net/lists/listinfo/arsperl-users

Reply via email to