Autor Beitrag
nonni
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 34



BeitragVerfasst: Di 08.04.03 20:02 
Hallo,

ich habe da ganz blödes Problemm und weiss net wieso. Also ich mache EINE Tabelle mit 2 Feldern ( einfach nur zum Test ).

Hier SQL:
ausblenden Quelltext
1:
2:
3:
4:
CREATE TABLE TBL_Fach (
  FACHID  NUMBER(3) NOT NULL,
  Fachbezeichnung  VARCHAR2(30) NOT NULL,
  CONSTRAINT PK_Fach PRIMARY KEY(FACHID));

mit SQL funktioniert auch alles ok, eintragen und so. Das Problem hab ich in Delphi. Ich richte eine TTable, datasource, DBGrid, DBNavigator und die database ein , soweit so gut. Also wenn ich jetzt Daten eintragen möchte bricht das Programm ab und kommt ne Fehlermeldung von wegen "ungültige Zahl" also bei FACHID.

Hat jemand Vorschläge woran das liegen kann?

Ich benutze übrigens Oracle 9i.

Moderiert von user profile iconTino: Absätze entfernt.
Luncustaf
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 324

Win 2k
D7 Ent.
BeitragVerfasst: Di 08.04.03 20:05 
was hast du den in FACHID drinnen stehen?

nimm mal anstatt number Int oda BigInt - weis net ob es das bei oracle gibt sollte es aber *denk*


gr€€tz
nonni Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 34



BeitragVerfasst: Di 08.04.03 22:36 
Hier ist nochmal die genaue Fehlermeldung:
BDE und Oracle ODBC "ORA-01722 Ungültige Zahl".
Das doofe ist dass ich einige Tabellen habe wo es funktioniert leider ab jetzt nicht mehr.
LCS
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1305
Erhaltene Danke: 1

WIN 7, WIN 8
Delphi XE5, Delphi XE, Delphi 2007
BeitragVerfasst: Mi 09.04.03 07:24 
Hi
schau mal in den BDE-Einstellungen nach, ob im betreffenden Alias die Einstellung EnableBCD = True ist.

Gruss Lothar

_________________
Der BH ist für die Brust, der Plan ist für'n Ar...
nonni Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 34



BeitragVerfasst: Mi 09.04.03 14:42 
habs gerade ausgeführt, ist aber gleichgeblieben :cry:
LCS
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1305
Erhaltene Danke: 1

WIN 7, WIN 8
Delphi XE5, Delphi XE, Delphi 2007
BeitragVerfasst: Mi 09.04.03 14:59 
Hm, war'n Versuch wert. Ich hatte so'n Problem schon mal vor langer Zeit mit Oracle 7 und ich dachte, ich hätt's so in den Griff gekriegt.

_________________
Der BH ist für die Brust, der Plan ist für'n Ar...