Master detail controls - InfoPath Dev
in

InfoPath Dev

Master detail controls

Last post 08-11-2009 07:07 PM by moggy. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 08-10-2009 09:33 PM

    • moggy
    • Top 150 Contributor
    • Joined on 06-22-2009
    • New Zealand
    • Posts 62

    Master detail controls

    The master detail control seems ideal for what I need to do, hoewver I cannot get it to work correctly

    This is a form not bound to a database.

    The main datasource if along the lines of

     

    Project Number

    Client Name

     

    I have a secondary data source which Is an xml document embedded as a resource file

    Structure is below

    <ClientRequirements>
    <Client>
     <Name>My company name</Name>
     <Region>America</Region>
     <Template>Water</Template>
     <DefaultDataSource>Source Name</DefaultDataSource>
     <DefaultArea></DefaultArea>
     <Fields>
      <Field>extra data 1</Field>
      <Field>extra data 2</Field>
     </Fields>
    </Client>

    I want to be able to select the the company name and for it to show the related data for it.

    Currently I have only been able to get it so that it displays all the client entries in the xml file. It also displays the <field> entries correctly

    I can setup the master OK, but the option in the detail section for setting up the master detail is not enabled.

  • 08-11-2009 05:39 PM In reply to

    Master-detail only works with the main data source.

    Patrick Halstead
    Project Manager at Qdabra
  • 08-11-2009 07:07 PM In reply to

    • moggy
    • Top 150 Contributor
    • Joined on 06-22-2009
    • New Zealand
    • Posts 62

    thanks, that is straight to the point, will stop bashing my head against the brick wall now :)

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