Autor Beitrag
day
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 107



BeitragVerfasst: Fr 12.09.03 10:58 
hallo

wie kann ich eine table zur laufzeit updaten. das problem ist, dass ich die änderungen in der datenbank nicht in die table bekomme. ich habe es folgendermassen probiert

ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
//update record
      DM.RsInfoWorkTable.Edit;

      DM.RsInfoWorkTable.UpdateRecord;
     // DM.RsInfoWorkTable.Refresh;
    //  DM.RsInfoWorkTable.Resync([rmExact]);
    DM.RsInfoWorkTable.Post;
jann
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 35



BeitragVerfasst: Fr 12.09.03 11:09 
Hi
Probiers mal mit:

ausblenden Delphi-Quelltext
1:
2:
DM.RsInfoWorkTable.Close;
DM.RsInfoWorkTable.Open;


Moderiert von user profile iconKlabautermann: Delphi-Tags hinzugefügt.
day Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 107



BeitragVerfasst: Fr 12.09.03 11:29 
hallo
danke für die schnelle antwort. Es funktioniert soweit, aber gibt es nur die möglichkeit eine table upzudaten? weil ich rufe die funktion relativ oft auf und jedesmal die table schliessen und wieder öffnen ist nach meiner ansicht, performance mässig relativ langsam
jann
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 35



BeitragVerfasst: Fr 12.09.03 11:31 
ich hab auch grade erst mit delphi angefangen. habs nur so gelöst bekommen. geht bestimmt auch anders. k.a.
day Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 107



BeitragVerfasst: Fr 12.09.03 11:33 
ok, danke