🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #2955

How can wirte in a filtered table ?

#2955
From: Marcel Unold
Date: Wed, 12 Feb 2003 21:04
27 lines
1674 bytes
   hallo
   this is a part of my code
   and i don't find the problem, that i can't wirte in the table in the
whileloop!



      Data->T_Ausleihe->Close();
      Data->T_Ausleihe->Filtered =  false;
      Data->T_Ausleihe->Open();
      strFilter2 = "Rueckgabedatum = NULL and Ausleihdatum <";
      strFilter2 = strFilter2 +
(DateToStr(Date()-lese_Ausleihfrist_ini()));
      Data->T_Ausleihe->Filter = strFilter2;
      Data->T_Ausleihe->Filtered =  true;

    Data->T_Ausleihe->FindFirst();
    do
    {
         strMediennummer1= Data->T_AusleiheMediennummer->AsString;
            does not work ??? why!!!
          Data->T_Ausleihe->Edit();
         Data->T_Ausleihe1_Mahndatum->AsDateTime = Date();
         Data->T_Ausleihe->Post();
    }
    while(Data->T_Ausleihe->FindNext());
Technical Details
Message-ID: <3E4AB6E1.7A685810@gmx.ch>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: GERMAN,ASCII-7-bit
X-Google-Thread: 10698b,39c1108ceb9e16b9,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-02-12 13:10:00 PST
Message-ID: <3E4AB6E1.7A685810@gmx.ch>
Date: Wed, 12 Feb 2003 22:04:33 +0100
From: Marcel Unold <m.unold@gmx.ch>
X-Mailer: Mozilla 4.07 [de] (Win98; I)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.database.ado
Subject: How can wirte in a filtered table ?
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 194.230.131.144
X-Trace: newsgroups.borland.com 1045083738 194.230.131.144 (12 Feb 2003 13:02:18 -0800)
Lines: 29
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail