Assistance needed - InfoPath Dev
in

InfoPath Dev

Assistance needed

Last post 02-25-2009 05:24 AM by cf40hz. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 02-24-2009 11:34 AM

    • cf40hz
    • Not Ranked
    • Joined on 02-18-2009
    • Posts 7

    Assistance needed

    I was wondering if it was possible to create a table that would expand /contract that is dependent upon the number of entries automatically.

    I have a drop down list called company. When you select a company, the contacts for that company should be listed in a table form. The number of rows should equal to the number of contacts.

    I can get everything linked together but when I preview it, I only get one row/contact even though there might be 5 people listed for that company.

    For instance:

    Company-ABC Contractors

    Person A
    Person B
    Person C

    My apologies if this is a repost.

    Thanks Curtis
  • 02-24-2009 05:40 PM In reply to

    Tools->Default values gets you more than one default row but not something that can be dynamically selected.

    For that, you can create a rule and use our free qRules v1.5 tool along with an eval(eval....) expression to iteratively inject a number of rows from an XML secondary data source (2DS). Search for eval and find a bunch of posts on the technique to iterate in a funciton using it. It's a bit tricky, though and if you can't get it to work, you could always just hardcode a bunch of rules (instead of a generic one). One rule per dropdown value and one aciton per row. qRules v1.5 is your free ticket though if you want to insert rows without using code.

    Good luck!

    Patrick Halstead
    Project Manager at Qdabra
  • 02-25-2009 05:24 AM In reply to

    • cf40hz
    • Not Ranked
    • Joined on 02-18-2009
    • Posts 7
    Thank you for the suggestion. I will definitely give it a shot.
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.