Re:NULL zuweisen



Hallo Peter,
ich verwende seit längerem für Interbase/Firebird folgende Variante, wenn ich Feldern NULL zuweise:


if (length(trim(DBEdit1.Text)) > 0) then
ParamByName('sString').AsString:= DBEdit.Text
else
ParamByName('sString').AsVariant:= NULL;

in der Typen-Deklaration von Delphi ist nur dem Typ Variant die NULL-Zuweisung erlaubt.


x-- 100 Proof News - http://www.100ProofNews.com
x-- 30+ Days Binary Retention with High Completion
x-- Access to over 1.9 Terabytes per Day - $8.95/Month
x-- UNLIMITED DOWNLOAD

.



Relevant Pages

  • Re: To yankee fans
    ... x-- 30+ Days Binary Retention with High Completion ... x-- UNLIMITED DOWNLOAD ... Prev by Date: ...
    (alt.sports.baseball.ny-yankees)
  • Re:Java Control Panel / Java Web Start bei Suse 9.3
    ... x-- 30+ Days Binary Retention with High Completion ... x-- UNLIMITED DOWNLOAD ... Prev by Date: ...
    (de.comp.os.unix.apps.misc)
  • Re:V: Webasto Telestart T100 HTM
    ... x-- 30+ Days Binary Retention with High Completion ... x-- UNLIMITED DOWNLOAD ... Prev by Date: ...
    (de.markt.fahrzeug.auto)
  • Re:wer wills haben
    ... x-- 30+ Days Binary Retention with High Completion ... x-- UNLIMITED DOWNLOAD ... Prev by Date: ...
    (de.rec.sport.fallschirm)
  • Re:July Quiz - answers
    ... x-- 30+ Days Binary Retention with High Completion ... x-- UNLIMITED DOWNLOAD ... Prev by Date: ...
    (uk.sport.cricket)