Re: AutoInc wird erst nach speichern des DS gesetzt
Hallo Georg,
ich denke mal du speicherst deine Werte per ADODB in die MySQL-Datenbank, oder?
Nehmen wir an du hast ein zugewiesenen RecordSet nahmens RS. Nach dem Update-Aufruf des Objekts solltest du einfach das ID-Feld lesen können.
With RS
.AddNew
.Fields("Feld X") = "X"
.Fields("Feld Y") = "Y"
.Fields("Feld Z") = "Z"
.Update
ID = .Fields("ID")
End With
Beste Grüße,
Markus Schatz
http://mschatz.com
Subject
Views
Written By
Posted
2472
March 01, 2010 12:47PM
Re: AutoInc wird erst nach speichern des DS gesetzt
1435
April 20, 2010 08:05AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.