Re: QT Cursor

[email protected]
Newsgroups gmane.linux.suse.programming
Message-ID <43369EED.8906.25EC0F@localhost>
Am 25 Sep 2005 um 11:43 hat Norbert Pilsl geschrieben:

> hallo
> 
> 
> danke für die Antwort.
> Die Tabelle hat einen eindeutigen ersten Index.(Name="ID")
> Muß auch der cursor.select() auf "ID" eingestellt werden?
> 

Kann ich Dir nicht sagen. Ich habe nur in der offiziellen QT Dokumentation 
nachgesehen :-)
http://doc.trolltech.com/3.2/qsqlcursor.html

Verwendest Du ODBC ?

Ich selbst verwende meine eigenen ODBC Wrapper.
Ich muss jedenfalls nicht irgend einen Filter setzen (ID=xxx).
Vielleicht ist die ODBC Konfiguration nicht auf 'Updateable Cursor' eingestellt ?
(War bei mir anfangs ein Problem: PostgreSQL ODBC Config)

Wenn das so ist, gehen Cursor nur Readonly, aber direkte SQL update Statements
klappen (kein Cursor).

Hast Du ein anderes Programm, das mit Cursorn auf Deiner Datenbank arbeitet ?
(Vergleich)

Lothar

-- 
Lothar Behrens	|	Rapid Prototyping ...
Rosmarinstr 3		|	
40235 Düsseldorf  	|	www.lollisoft.de




-- 
Um die Liste abzubestellen, schicken Sie eine Mail an:
    [email protected]
Um eine Liste aller verfügbaren Kommandos zu bekommen, schicken
Sie eine Mail an: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.