Autor Beitrag
greenhorn
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 68


D5
BeitragVerfasst: So 24.06.07 09:37 
Hallo Zusammen,

ich weiss, dass dieses Thema nicht sonderlich populär ist (die Suche gibt 5 Treffer aus, welche mir nicht weiterhelfen), aber vielleicht kennt ja doch jemand wie man einen Datensatz in einer Datenbank via ODBC locken kann. ich stelle mir das wie folgt vor....

ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
lock record for update (primary index fields) in table xxx;
if locked then 
begin
 ....
 release locked record;
end
else
 fehlermeldung(record konnte nicht gelockt werden);


kennt jemand hierzu die konkreten befehle um so etwas zu realisieren?

Herzlichen Dank
GreenHorn
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: So 24.06.07 09:45 

_________________
Markus Kinzler.