Article View: borland.public.cppbuilder.database.multi-tier
Article #842Testing a empty date field
From: Jason Summers
Date: Sun, 21 Jan 2001 01:44
Date: Sun, 21 Jan 2001 01:44
12 lines
1259 bytes
1259 bytes
I'm using an Interbase table, and have a field called field called "DOS" and
it's a date field. How do i check if it's an empty date field. This code
doesn't seem to work
if (DMOD->tableName->FieldByName("DOS")->Value != NULL) {
// it should be an empty date field
} else {
// it's not empty
}
Thanks for any help in advance
Jason
Technical Details
Message-ID:
<3a6a3f2c_1@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!208.18.89.2Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd2b,eb5c92e9ede05709,start X-Google-Attributes: gidfcd2b,public X-Google-ArrivalTime: 2001-01-20 17:47:50 PST Reply-To: "Jason Summers" <jason@grinc.org> From: "Jason Summers" <jason@grinc.org> Newsgroups: borland.public.cppbuilder.database.multi-tier Subject: Testing a empty date field Date: Sat, 20 Jan 2001 19:44:59 -0600 Lines: 14 Organization: Grinc X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 NNTP-Posting-Host: 208.18.89.2 Message-ID: <3a6a3f2c_1@dnews> X-Trace: 20 Jan 2001 17:45:16 -0800, 208.18.89.2 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!208.18.89.2