repeating tables - InfoPath Dev
in

InfoPath Dev

repeating tables

Last post 06-30-2006 10:05 AM by Greg Collins. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 06-22-2006 01:49 AM

    repeating tables

    Hi, I have two repeat tables in my form, they come from a datasource, this is the tree of the primary connection(releated tables. Table2 and table3 are releated with table1 by the field "ID_table").
    table1
    table2(repeat table)
    table3(another repeat table)
    .
    First of all I make a query and fill some fields of the table1 automatically, but table2 and table3 are empty.
    I have to select only one table then insert records into this table, but the other one must remain empty, when I submit the form, infopath writes in both tables, but the empty table has one record with the ID_table filled(into database in ACCESS).
    one idea was to remove the record from the empty table before submitting the form, so Infopath doesn't write into the datasource of the empty table, but the header of the empty repeat table remains, so when I have to print the filled form it olso prints the empty table's header. What can I do?.
    thanks...
  • 06-23-2006 04:15 PM In reply to

    To solve the printing issue, you can place your table inside a section. Add conditional formatting on the section such that if there are no rows in the table, the section gets hidden. This way it will not show up in the view or printout when the table is empty.
  • 06-26-2006 04:37 AM In reply to

    thanks Greg, with that I only risolve the problem with the printing, but remains the problem when the empty table. Do you know how can I manage the repeat table control using JScript in order to verify if the table is empty or isn't it? the repeat table is connected to an microsoft access' table.
  • 06-27-2006 07:08 AM In reply to

    I've just risolve my problem. I've risolved the problem inserting table1, table2 and table3 separeted into the form.
    thanks Greg
  • 06-30-2006 10:05 AM In reply to

    Great! Glad you were able to get the issue resolved!
Page 1 of 1 (5 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.