in

InfoPath Dev

Retruning all rather than matching query

Last post 07-06-2008 10:03 PM by Clay Fox. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 07-03-2008 12:31 AM

    • bmcclue
    • Not Ranked
    • Joined on 07-03-2008
    • Scotland
    • Posts 1

    Retruning all rather than matching query

     Hello,

    I am new to InfoPath (using the 2003 version) and I have been trying to create master/detail pages from an existing SQL server DB. In trying to learn how to do this I have been using the wonderful example posted by Matt Faus posted at location http://www.infopathdev.com/blogs/matt/archive/2006/01/09/Create-a-Multi_2D00_View-Master_2F00_Detail-using-an-InfoPath-Data-Filter.aspx.

     

    The problem I have is that, not matter how many times I try from scratch to recreate this I can not get the query to return only the specific search critieria. Each time I run the query it returns all records. From my previous experience with Dreamweaver this problem usually pointed to a mismatch in the binding between the entered value adn the returned unique ID, but I can not see what is wrong with this (or what I am doing wrong).

    Can anyone assist with the most likely solution or can you point me in the direction of other 'dummies guides' to creating master/detail pages in InfoPath please?

    Thanks

    bmak 

     

    ====================================
    If you're not scared you don't understand the danger!
    ====================================
  • 07-06-2008 10:03 PM In reply to

    Re: Retruning all rather than matching query

    Hi.

    In InfoPath you enter a value into a query field and it will return only the records which math the query data.

    So in your form set ID for example to 1 and then run the query.

    The only record returned will be the record with ID1, if it exists.

    I am guessing that is your issue.

    I alsways recommend createing a new form, based on your tables and then just drag all the fields onto your view and use the query button to play with it.

Page 1 of 1 (2 items)
Copyright © 2003-2007 Qdabra Software. All rights reserved.
View our Terms of Use.