Hallo zusammen,

ich habe das Problem, dass ich auf eine AS/400 Datei (DDL beschreiben) nicht mit MS Access zugreifen kann.

Es werden zwar alle spalten angezeigt allerdings mit dem Wert '#GELÖSCHT'.

Ich habe nun schon etwas im Internet gesucht und herausgefunden, dass es daran liegt, dass Access keinen Primary Key findet. Allerdings werde ich auch nicht danach gefragt.

Ich vermute dass Access Probleme mit der Dateidefinition hat.

Ich habe folgende Definition:

Code:
CREATE TABLE Table1
(
    T1_Feld1 BIGINT NOT NULL UNIQUE GENERATED ALWAYS AS IDENTITY ,
    T1_Feld2 BIGINT NOT NULL,
    T1_Feld3 numeric(8) DEFAULT 0     NOT NULL) RCDFMT RCD01;

CREATE TABLE Table2
(
    T2_Feld1 BIGINT NOT NULL UNIQUE GENERATED ALWAYS AS IDENTITY ,
    T2_Feld2 numeric(8) DEFAULT 0     NOT NULL) RCDFMT RCD02;

ALTER TABLE Table1
    ADD CONSTRAINT Table1_2_Table2 FOREIGN KEY (T1_Feld2)
    REFERENCES Table2 (T2_Feld1)
    ON UPDATE NO Action
    ON DELETE RESTRICT
;
Wir haben das Release V7R1.
Microsoft Access 2010.


Vielen Dank für eure Hilfe

iseries_user