K
Kevin Davis via DotNetMonster.com
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 Davis
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 Davis