N
Nostrabs
Guest
Hi,
I want to create a small program which add table into an Access 2000 base with relations. I use ADO for that, but it seems that it is not possible to create a relation with 'ON DELETE CASCADE' and 'ON UPDATE CASCADE' parameters. Can you tell me if it exists another meaning to create relation with cascade delete & utpdate ?
Thanks for answer. I have the same problem with DEFAULT keyword which is not recognize into a query.
My query :
CREATE TABLE dtaConsignes (Ident COUNTER CONSTRAINT MyFieldConstraint PRIMARY KEY, AlmGrpIdent INTEGER CONSTRAINT MyFieldConstraint2 REFERENCES dtaAlarmsGroups(Ident) ON DELETE CASCADE ON UPDATE CASCADE, Consigne VARCHAR(200) NOT NULL);
You are my last chance !!!!!!!!!

I want to create a small program which add table into an Access 2000 base with relations. I use ADO for that, but it seems that it is not possible to create a relation with 'ON DELETE CASCADE' and 'ON UPDATE CASCADE' parameters. Can you tell me if it exists another meaning to create relation with cascade delete & utpdate ?
Thanks for answer. I have the same problem with DEFAULT keyword which is not recognize into a query.
My query :
CREATE TABLE dtaConsignes (Ident COUNTER CONSTRAINT MyFieldConstraint PRIMARY KEY, AlmGrpIdent INTEGER CONSTRAINT MyFieldConstraint2 REFERENCES dtaAlarmsGroups(Ident) ON DELETE CASCADE ON UPDATE CASCADE, Consigne VARCHAR(200) NOT NULL);
You are my last chance !!!!!!!!!
