Subject IBPP - Null Fields?
Author barfingdog_2004
Hi Experts:

Yea, I know, this is best posted to the IBPP
discussion group.

My attempt to e-mial that group failed, with
a complaint about an e-mail address. I don't
know if my message got through. IBPP's archives
have been updated today, but I don't see my post
from over an hour ago. If my message has been
received, I don't know if it will be another hour,
another week, or another month, before I can see
the post, and responses to it, in the archive.

I've used IBPP's valuable test1 sample program,
but I don't see an example of fields read with a
Get() function being tested for NULL. I have the
following code to read an IBPP::Date value.

IBPP::Date date_val;

st->Get("START_DATE", date_val);
date_val.GetDate(year, month, day);

This particular record has no start date
specified. The Get() returns fine, the GetDate()
throws an exception.

What do I put between the Get() and the
GetDate() calls to test for a NULL entry in the
field?

Thanks
Larry