|
|
 |
| Infopath Programming and automation discussions only please. :) |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Infopath section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
|
|
View Poll Results: Is this relevan to users?
|
|
Yes
|
 
|
0 |
0% |
|
No
|
 
|
0 |
0% |
 |

August 21st, 2009, 01:30 PM
|
|
Registered User
|
|
Join Date: May 2007
Location: Washington, DC, USA.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Can a field & heading in a repeating table be shrunk to 0 width?
I have a section with a repeating table and field headings inside it. One of the fields is for currency, e.g., "Dollar", "Pound", etc (via a drop-down list box). Users can choose from 1 of 2 accounts. One account uses several currencies, while the other is only in Dollars. Otherwise all the fields are the same in the 2 repeating tables. Since the Dollar-only account doesn't need the currency field ("Dollar" is the default value), I would like the user not even have to see this field and heading. How can I make this field invisible, or to make the width 0, when the user chooses the Dollar-only account?
I tried conditional formating, but it is still visible even though I disable it or hide it. Can this be done with a rule (I'm not a programmer), or if not, can it be done with code?
I did create 2 identical sections and repeating tables with the currency manually shrunk as much as possible in one of the repeating tables. I then used conditional formating to hide one or the other section and repeating table, depending on the account chosen. However, I'm not sure that this is the best method, especially since both are bound to the same data source.
By the way the data source is a SQL Server endpoint used as the web service that uses stored procedures with input parameters, e.g., the account ID is an input parameter.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |