Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Problem with Data Connection

  Asked By: Krista    Date: Feb 26    Category: Sharepoint    Views: 956

I am having trouble getting a data connection between two Data Web Parts
to work. I'm using FP2003.

I have copied this code from the WSS faq:
http://www.asaris.de/sites/walsh/Lists/WSS%20FAQ/DispForm.aspx?ID=193&So
urce=http%3A%2F%2Fwww%2Easaris%2Ede%2Fsites%2FWalsh%2FLists%2FWSS%2520FA
Q%2FAllItems%2Easpx

And have amended the Select name clause to give the onchange event
processing.

The linked fields are both text. The source field in the query is the
source field for the field in the receiving DVWP when data is entered
into the list (if that makes sense!).

It looks as if the event is being fired as the screen refreshes, but it
seems as if all the rows in the target list are being returned not just
the ones where source text field = target text field.

<option style="display:{$GroupStyle}">
<xsl:attribute
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform"
name="value"><xsl:variable name="cursel">dvt_curselkey={<xsl:value-of
select="$CurrentRowKey"/>}</xsl:variable><xsl:variable
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform"
name="fields">@ID=<xsl:value-of
select="ddwrt:ConnEncode(string(@ID))"/></xsl:variable>javascript:<xsl:v
alue-of
select="ddwrt:GenFireConnection(concat('99d2bb39-f973-482c-a0ca-e49b56ea
e72d*',$fields),string($cursel))"></xsl:value-of></xsl:attribute>
<a target="_self">
<xsl:attribute
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform"
name="href"><xsl:variable name="cursel">dvt_curselkey={<xsl:value-of
select="$CurrentRowKey"/>}</xsl:variable><xsl:variable
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform"
name="fields">@Title=<xsl:value-of
select="ddwrt:ConnEncode(string(@Title))"/></xsl:variable>javascript:<xs
l:value-of
select="ddwrt:GenFireConnection(concat('99d2bb39-f973-482c-a0ca-e49b56ea
e72d*',$fields),string($cursel))"></xsl:value-of></xsl:attribute>
<xsl:attribute
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform"
name="href"><xsl:variable
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform" target="_blank" rel="nofollow">http://www.w3.org/1999/XSL/Transform"
name="fields">@ID=<xsl:value-of
select="ddwrt:ConnEncode(string(@ID))"/></xsl:variable>javascript:<xsl:v
alue-of
select="ddwrt:GenFireConnection(concat('c4701b12-7ceb-4fdc-9d15-6af72956
facb#99d2bb39-f973-482c-a0ca-e49b56eae72d*',$fields),string(''))"></xsl:
value-of></xsl:attribute>
<xsl:value-of select="@Title"/>
</a>
</option>

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Problem with Data Connection Or get search suggestion and latest updates.




Tagged: