Autor Beitrag
wlfmario
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 114

Windos XP SP2
D7 Enterprise & D2005 PE
BeitragVerfasst: Mi 28.09.05 20:59 
Hallo,

wie kann ich es Realisieren, Wenn ich eine Tabelle im DBGrid anzeige und dort Anklicke das die Angeklickten Daten mit in ein neues Formular genommen werden Wo ich Sie dann Bearbeiten kann ?
Wenn ich es versuche wird immer der erste eintrag aus der Tabelle angezeigt.
Klabautermann
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Veteran
Beiträge: 6366
Erhaltene Danke: 60

Windows 7, Ubuntu
Delphi 7 Prof.
BeitragVerfasst: Mi 28.09.05 21:45 
Am einfachsten wird es sein, wenn du Datenbankgebundene Felder welche an der selben DataSource wie dein DBGrid hängen, auf dem neuen Form verwendest.

Gruß
Klabautermann
wlfmario Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 114

Windos XP SP2
D7 Enterprise & D2005 PE
BeitragVerfasst: Mi 28.09.05 22:20 
Das habe ich gemacht Klappte aber leider nicht.
Jetzt habe ich den Fehler gefunden:
Ich habe das neue Form mit Show aufgerufen und nicht mit Showmodal.
Mit Showmodal klappt es einwandfrei.