Home : Products : Gossamer Links : Development, Plugins and Globals :

Products: Gossamer Links: Development, Plugins and Globals: Re: [Andy] Unhelpful SQL error :/: Edit Log

Here is the list of edits for this post
Re: [Andy] Unhelpful SQL error :/
Just a suggestion - try:

my $cond = GT::SQL::Condition->new('AssignedToPackage', '=', $_, 'AlreadyChecked', '=', '0');

my $count = $table->count($cond) or die $GT::SQL::error;

I've had a quick look at my code - I'm using count successfully but in every case I'm using it in this form.

Are you sure that $_ has a value and have you tried '0' with quotes.

Last edited by:

afinlr: Sep 17, 2003, 5:03 PM

Edit Log: