Article View: pl.comp.lang.delphi.bazy-danych
Article #70578CalculatedFields i OncalcFields
From: Set
Date: Sat, 04 Aug 2007 18:47
Date: Sat, 04 Aug 2007 18:47
15 lines
1568 bytes
1568 bytes
Witam Problem polega na tym, ze: jest tabela z polami ilosc, cena_netto i stawka_vat (podana w wartosciach np. 7 lub 22) dodalem pole typu calculated cena_brutto i oprogramowalem oncalcfield jesli wyliczam ilosc*cena_netto wszystko jest ok ale jesli chce wyliczyc cena_brutto=cena_netto*stawka_vat/100 wyrzuca bład '' is no a valid floating point value probowalem to "100" podac jako zmienna - to samo jako pole z tabeli setup, tez to samo. Czy oncalc funkcjonuje tylko na polach tabeli, w ktorej dodano pole calculated? Szukalem juz w roznych miejscach, ale nic na ten temat nie moge zlalezc. Wszedzie przyklady z polami z tabeli do ktorej dodano pole kalkulacyjne.
Technical Details
Message-ID:
<f92i1q$k6c$1@nemesis.news.tpi.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.internetia.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.internetia.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail From: "Set" <dargonid@o2.pl> Newsgroups: pl.comp.lang.delphi.bazy-danych Subject: CalculatedFields i OncalcFields Date: Sat, 4 Aug 2007 20:47:10 +0200 Organization: tp.internet - http://www.tpi.pl/ Lines: 18 Message-ID: <f92i1q$k6c$1@nemesis.news.tpi.pl> NNTP-Posting-Host: 217.116.102.221 X-Trace: nemesis.news.tpi.pl 1186253691 20684 217.116.102.221 (4 Aug 2007 18:54:51 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: Sat, 4 Aug 2007 18:54:51 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit