Article View: borland.public.cppbuilder.database.multi-tier
Article #37TClientDataSet: "Field must have a value", but DefaultExpression is defined (= 'true')
From: David Scheffel [Schlund+Partner ...
Date: Mon, 26 Jan 2004 12:21
Date: Mon, 26 Jan 2004 12:21
17 lines
1631 bytes
1631 bytes
Hello,
one of our customers complains about an exception ("Field must have a
value") that is thrown when he tries to insert an record. I really wonder
about this exception because the DefaultExpression of the corresponding
field is set (= 'true'). We use the TClientDataSet as standalone desktop
database component - please dont't ask why!
Does the TClientDataSet handle boolean constants language specific (e.g.
'wahr' {german} instead of 'true') ?
Is it recommend to use an constant integer value (1) instead of 'true' in
the DefaultExpression of an boolean field?
regards
David Scheffel
Technical Details
Message-ID:
<4015065e@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed-west.nntpserver.com!hub1.meganetnews.com!nntpserver.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd2b,5062174beeb13d3,start X-Google-Attributes: gidfcd2b,public X-Google-ArrivalTime: 2004-01-26 04:34:05 PST From: "David Scheffel [Schlund+Partner AG]" <noreply@schlund.de> Newsgroups: borland.public.cppbuilder.database.multi-tier Subject: TClientDataSet: "Field must have a value", but DefaultExpression is defined (= 'true') Date: Mon, 26 Jan 2004 13:21:47 +0100 Lines: 19 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 212.227.35.73 Message-ID: <4015065e@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1075119710 212.227.35.73 (26 Jan 2004 04:21:50 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed-west.nntpserver.com!hub1.meganetnews.com!nntpserver.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mail