Autor Beitrag
cartridge
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 209

Win XP
D4 Prof,D6 Prof
BeitragVerfasst: Do 06.10.05 14:44 
Hallo Leute!

Ich habe das Problem, dass sich das DBGrid nicht aktualisiert, wenn ich in der DB eine Änderung (z.B. via SQL) vornehme. Refresh reicht da nicht aus.
Wie mache ich es am besten?

Gruß Ingo
Alpha_Wolf
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 297

Ubuntu, Win XP, Win Vista
C#, Delphi 6 Prof, Delphi 2007 Prof, Java
BeitragVerfasst: Do 06.10.05 14:46 
Du führst das gleiche SQL Statement wie beim laden aus(damit du alle Datensätze wieder angezeigt bekommst) nachdem du einen Datensatz geändert/gelöscht hast.

_________________
Diskutiere nie mit einem Irren - er zieht dich auf sein Niveau und schlägt dich mit seiner Erfahrung.
cartridge Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 209

Win XP
D4 Prof,D6 Prof
BeitragVerfasst: Fr 07.10.05 14:40 
Ja OK Danke!

Dachte allerdings, dass es auch ohne schließen geht...

Gruß Ingo