V4RB2 Insert instead of UPDATE

Claudius Sailer Claudius at sailer-online.de
Sat Apr 2 12:52:17 CST 2005


Am 02. Apr 2005 um 11:44 Uhr schrieb Ruslan Zasukhin:

> On 4/2/05 11:59 AM, "Claudius Sailer" <Claudius at sailer-online.de> 
> wrote:
>
>>    if CheckLeer(EditField5.text) then
>>      meineDatenbank.TBuchungen.Kommentar.setblank
>>    else
>>      meineDatenbank.TBuchungen.Kommentar.Value=EditField5.text.trim
>>    end if
>>    meineDatenbank.TBuchungen.Blocked.value=false
>>    meineDatenbank.TBuchungen.UpdateRecord()
>>
>>    meineDatenbank.TBuchungen.flush
>
> Note, sure, but why setBlank here ?

then it gets NULL otherwise it gets ""

bye


Claudius

-- 
G4/733 QS / MacOS X 10.3.8de / RB 5.5.3de/ Valentina 1.10.0 & 2.0.1
Homepage	http://www.ClaSai.de
iChat		ryhoruk
RealBasic ListBoxes: [ I feel the need...the need for speed!!! ]



More information about the Valentina mailing list