Autor Beitrag
Hendrik
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 324



BeitragVerfasst: Sa 03.05.08 14:58 
Hallo,

in meinem Projekt habe ich in mehreren Querys die gleiche Tabelle geöffnet. Wenn ich diese Querys nun aktualisiere (query.refresh), kommt es sporadisch und auch bei unterschiedlichen Querys zu folgender Fehlermeldung:

Zitat:
Connection is not defined
lock conflict on no wait transaction deadlock
Unsuccessful execution caused by system error that does not preclude successful execution of subsequent statements


Ist dieses Problem bekannt bzw. hat jemand eine Idee, woran es liegt?

Vielen Dank schonmal für die Hilfe!
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: Sa 03.05.08 16:57 
Zeos unterstützt leider nur eine Transaktion pro Connection.

_________________
Markus Kinzler.
Hendrik Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 324



BeitragVerfasst: Sa 03.05.08 22:57 
D.h. immer so lange warten, bis die erste Query fertig ist und dann erst die nächste?
Hendrik Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 324



BeitragVerfasst: So 04.05.08 22:25 
Ich habe heute den ganzen Tag rumgebastelt, aber keine Eigenschaft gefunden, über die ich abfragen kann, ob die Datenmenge derzeit noch aktualisiert wird. Geht das überhaupt?
hansa
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3079
Erhaltene Danke: 9



BeitragVerfasst: Mo 05.05.08 01:12 
Soll das da ernsthaft mit Zeos gemacht werden ? Pfff, Dataset.active könnte man noch auswerten und sobald das fertig ist, dann mit dem nächsten weitermachen. Das wird ja hoffentlich innerhalb eines einzigen Programmes gemacht werden ? :shock:

_________________
Gruß
Hansa
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: Mo 05.05.08 08:30 
Zitat:
Das wird ja hoffentlich innerhalb eines einzigen Programmes gemacht werden ? :shock:
Wenn es verschiedene Programme wären, hätte er das Problem ja nicht.

_________________
Markus Kinzler.
Hendrik Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 324



BeitragVerfasst: Mo 05.05.08 10:14 
Ist Active während des Aktualisierens false? Anders würde es ja nichts bringen...

Und natürlich sind alle Querys in einer Anwendung!