C
Chris
Hi, I have the following problem with a one to many relation.
_________________________________________________
Parent Table:
Field_P1 , Field_P2
_________________________________________________
Child Table:
Field_C1, Field_C2, Field_C3, Field_C4, Field_C5
_________________________________________________
The above tables are related with a one-to-many ralation on fields
Field_P1<--->Feild_C1
I want to mass-import data into the child table from a delimited text
containing columns for fields:
Field_C2, Field_C3, Field_C4, Field_C5
The data will be imported for each record in the parent table.
I've tried to use the TransferText method of DoCmd but I'am
getting an error message about possible violation of referential integrity
(If I add another one column in the text file for the Field_C1 then it
seems to work fine but this is not the case because I dont want the
user to add the value. I think that the cascade-update rule would
do the job for me, but .......)
TIA, Chris
_________________________________________________
Parent Table:
Field_P1 , Field_P2
_________________________________________________
Child Table:
Field_C1, Field_C2, Field_C3, Field_C4, Field_C5
_________________________________________________
The above tables are related with a one-to-many ralation on fields
Field_P1<--->Feild_C1
I want to mass-import data into the child table from a delimited text
containing columns for fields:
Field_C2, Field_C3, Field_C4, Field_C5
The data will be imported for each record in the parent table.
I've tried to use the TransferText method of DoCmd but I'am
getting an error message about possible violation of referential integrity
(If I add another one column in the text file for the Field_C1 then it
seems to work fine but this is not the case because I dont want the
user to add the value. I think that the cascade-update rule would
do the job for me, but .......)
TIA, Chris