D
Dave
Hi all,
I am having a problem with my relationships (Not personal
ones though )
I have an XML datasource and a SQL datasource. I have put
them both into the same dataset.
Neither table suits being parent or child. I have had to
put the constraint to false in order to get the page to
at least come up.
My XML table has a list of numbers. My SQL table has some
data with matching numbers, though it may have some data
without matching numbers.
e.g.
XML
111
112
113
115
117
SQL
111
112
118
119
I need to drop the XML data and the SQL data where there
are no match between them, hence in this case, leaving
behind 111 and 112.
The only way I can think of is to me, wasteful and time
consuming. That is to create a loop with the XML data and
feed this in an "IN" statement into SQL Query.
Is there a prettier and faster way to do it.
Thanks.
Dave Colliver.
http://www.SheffieldFOCUS.com
I am having a problem with my relationships (Not personal
ones though )
I have an XML datasource and a SQL datasource. I have put
them both into the same dataset.
Neither table suits being parent or child. I have had to
put the constraint to false in order to get the page to
at least come up.
My XML table has a list of numbers. My SQL table has some
data with matching numbers, though it may have some data
without matching numbers.
e.g.
XML
111
112
113
115
117
SQL
111
112
118
119
I need to drop the XML data and the SQL data where there
are no match between them, hence in this case, leaving
behind 111 and 112.
The only way I can think of is to me, wasteful and time
consuming. That is to create a loop with the XML data and
feed this in an "IN" statement into SQL Query.
Is there a prettier and faster way to do it.
Thanks.
Dave Colliver.
http://www.SheffieldFOCUS.com