DataRelation
From: Kevin (Kevin_at_discussions.microsoft.com)
Date: 03/24/05
- Previous message: Bill H: "'insert into' fails"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 23 Mar 2005 17:51:02 -0800
Aloha,
I have a question when using the Datarelation. I built a dataset and need
to use the Datarelation to build parent-child relationships. I have events
that may or may not use resources. I have a resources table which has the
resourceID, eventID, and amount. My code blows up because "The Constraint
cannot be enabled as not all values have corresponding parent values." I
double checked to ensure I did not have any orphan values in the child table.
My questions is: Can I use the datarelation if my event does not have a
resource (meaning that there will not be a corresponding child record in the
resource table.)
Any help is appreciated.
Mahalo!
-- Kevin
- Previous message: Bill H: "'insert into' fails"
- Messages sorted by: [ date ] [ thread ]