Delphi-PRAXiS
Seite 4 von 4   « Erste     234   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Datenbanken (https://www.delphipraxis.net/15-datenbanken/)
-   -   Delphi ominöse "not in edit mode"-meldung (https://www.delphipraxis.net/63874-ominoese-not-edit-mode-meldung.html)

Frank Borland 24. Feb 2006 18:41

Re: ominöse "not in edit mode"-meldung
 
Delphi-Quellcode:
DatenModul.IBDataSet_AUT.Insert();
DatenModul.IBDataSet_AUTID.AsInteger := -1; // das klappt
DatenModul.IBDataSet_AUTAUT.AsString := DatenModul.Table_AUTAUT.AsString; // <--- das nicht
AUT.AUT hat einen unique index aber keine Ursprungsdaten, die unique sind
entweder raus mit dem unique oder die Ursprungsdaten nachbessern

Gruß


Malte

sancho1980 25. Feb 2006 13:45

Re: ominöse "not in edit mode"-meldung
 
klingt plausibel
werd ich gleich mal ausprobieren
danke für den tipp
werd nachher mal bescheid geben ob's das war
gruß
martin

sancho1980 25. Feb 2006 23:58

Re: ominöse "not in edit mode"-meldung
 
hab grad nur meinen laptop zur hand und da spackt delphi grad rum
was mir aber aufgefallen ist, ist, dass es mehrere records in der ursprungs-datenbank gibt, mit dem gleichen aut-kürzel
das dürfte die "attempt to store duplicate value"-meldung erklären
schätze das war das problem
1000 dank für dein wachsames auge!
martin


Alle Zeitangaben in WEZ +1. Es ist jetzt 22:15 Uhr.
Seite 4 von 4   « Erste     234   

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz