Article View: pl.comp.lang.delphi.bazy-danych
Article #70191Re: wartosc NULL poprzez ParamByName
From: Jacek
Date: Wed, 20 Jun 2007 12:03
Date: Wed, 20 Jun 2007 12:03
26 lines
1547 bytes
1547 bytes
Tak faktycznie ustawienie typu rozwiązuje sprawę.
Dzięki
qqruźNIK wrote:
> GrzesiekN napisał(a):
>
>> Query1.ParamByName('d').Clear;
>>
>
> O ile dobrze pamiętam to w komponentach DBE - jeżeli danemu parametrowi
> wcześniej nie nadawałeś żadnej wartości - trzeba było dodatkowo ustawić
> typ danych, żeby wiedział co to ma być ten null.
> Inaczej się wywalał.
>
> np:
>
> Query1.ParamByName('d').DataType := ftInteger;
>
>
> -------------
> qqruźNIK
>
>
>
Technical Details
Message-ID:
<f5b5fp$fcn$1@nemesis.news.tpi.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mailReferences:
<f5b12o$oga$1@atlantis.news.tpi.pl> <f5b16j$oga$2@atlantis.news.tpi.pl> <1182339562.796478.203100@n60g2000hse.googlegroups.com> <f5b4jf$3ai$1@news.onet.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail From: Jacek <sorry@nie.lubie.spamu> Newsgroups: pl.comp.lang.delphi.bazy-danych Subject: Re: wartosc NULL poprzez ParamByName Date: Wed, 20 Jun 2007 14:03:59 +0200 Organization: tp.internet - http://www.tpi.pl/ Lines: 26 Message-ID: <f5b5fp$fcn$1@nemesis.news.tpi.pl> References: <f5b12o$oga$1@atlantis.news.tpi.pl> <f5b16j$oga$2@atlantis.news.tpi.pl> <1182339562.796478.203100@n60g2000hse.googlegroups.com> <f5b4jf$3ai$1@news.onet.pl> NNTP-Posting-Host: 80.54.123.217 Mime-Version: 1.0 X-Trace: nemesis.news.tpi.pl 1182341434 15767 80.54.123.217 (20 Jun 2007 12:10:34 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: Wed, 20 Jun 2007 12:10:34 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en In-Reply-To: <f5b4jf$3ai$1@news.onet.pl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit