Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / July 2007

Tip: Looking for answers? Try searching our database.

Repeating table

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ashish - 16 Aug 2004 18:15 GMT
Hi,

I want to  have two repeating tables on my form. However, one should drive
the other. Specifically, if I add a new row to the master one, it should add
a new row to the other one as well. At the end of the process both the tables
will have equal number of rows and columns, but the values of each
corresponding locations of the two tables will be based off a formula. (A
simple mathematical one eg. a= b+ const.)

Can this be achieved in SP1? Any help or suggestion will be really
appreciated.

Thank You,
Ashish
Inbar - 16 Aug 2004 18:55 GMT
You can write a small javascript that will be run on the event that the table
changes and make the update to the the other table. Is the other table
read-only or can the user change it as well?

> Hi,
>
[quoted text clipped - 10 lines]
> Thank You,
> Ashish
Ashish - 16 Aug 2004 19:03 GMT
The other table is changable too. The bigger picture for this problem is that
we already have a huge form with static number of rows in numerous tables
with logic running like the one I wrote before. I am trying to optimize the
form performance by changing the tables to repeating tables and eliminating
the on_after_change events with introduction of rules if possible.

Thanks,
Ashish

> You can write a small javascript that will be run on the event that the table
> changes and make the update to the the other table. Is the other table
[quoted text clipped - 14 lines]
> > Thank You,
> > Ashish
Greg Collins [MVP] - 17 Aug 2004 18:12 GMT
You will need to use code, not rules, to insert/delete a row in another table, when a row is inserted/deleted in the first table.

Signature

Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com

The other table is changable too. The bigger picture for this problem is that
we already have a huge form with static number of rows in numerous tables
with logic running like the one I wrote before. I am trying to optimize the
form performance by changing the tables to repeating tables and eliminating
the on_after_change events with introduction of rules if possible.

Thanks,
Ashish

"Inbar" wrote:

> You can write a small javascript that will be run on the event that the table
> changes and make the update to the the other table. Is the other table
[quoted text clipped - 16 lines]
> > Thank You,
> > Ashish
Ozz - 16 Nov 2004 12:00 GMT
Hi Ashish,

I had exactly the same problem, till i found that i could make one large
table and cut it in two. When you paste the cutted selection further on in
your form, as a second table, it will add a row when you insert one in the
first table.

Kind regards,

> Hi,
>
[quoted text clipped - 10 lines]
> Thank You,
> Ashish
Brian Teutsch [MSFT] - 16 Nov 2004 19:46 GMT
Try using the same table, but having different fields shown in each table.
So you'll have a master table with both a & b fields included. Then insert
it twice, and delete the fields you don't want. Adding a row will still add
the row in the second table, and the "hidden" fields.

Brian

> Hi Ashish,
>
[quoted text clipped - 22 lines]
>> Thank You,
>> Ashish
Jono - 06 Jul 2007 16:16 GMT
When I use Brian's suggestion or Ozz's I get the little "i" by the group name
with the message "Control stores duplicate data". Is this an issue? Will it
affect proper data storage?

> Try using the same table, but having different fields shown in each table.
> So you'll have a master table with both a & b fields included. Then insert
[quoted text clipped - 29 lines]
> >> Thank You,
> >> Ashish
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.