Received: from dancing-bare.dsl-only.net (dancing-bare.dsl-only.net [63.105.16.4]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f5FJ0ga11590 for ; Fri, 15 Jun 2001 15:00:43 -0400 (EDT) (envelope-from pdxmax@dsl-only.net) Received: from tabor.office.archimedesoft.com (unverified [63.105.19.225]) by dancing-bare.dsl-only.net (Rockliffe SMTPRA 4.5.4) with ESMTP id for ; Fri, 15 Jun 2001 12:08:22 -0700 Date: Fri, 15 Jun 2001 12:00:40 -0700 From: Tabor Kelly X-Mailer: The Bat! (v1.49) UNREG / CD5BF9353B3B7091 Reply-To: Tabor Kelly X-Priority: 3 (Normal) Message-ID: <7794567120.20010615120040@dsl-only.net> To: pgsql-interfaces@postgresql.org Subject: NULL feilds and ERROR messages from libpq++ Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200106/55 X-Sequence-Number: 1718 Okay, I need to generate e-mails based on a table that may or may not have certain fields that are null. Why is it that every time I do a PgDatabase::GetValue on a field that has a null value, I get an error message printed to my console ("PQgetvalue: ERROR! tuple number 0 is out of range 0..-1")? Is there a way to turn this off? If not, what is a good work-around? Thank You, Tabor Kelly