p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Go Back   p2p.wrox.com Forums > Microsoft Office > Other Office > Infopath
I forgot my password Register Now
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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%
Voters: 0. You may not vote on this poll

Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 21st, 2009, 01:30 PM
Registered User
Points: 25, Level: 1
Points: 25, Level: 1 Points: 25, Level: 1 Points: 25, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2007
Location: Washington, DC, USA.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Repeating table problem liorlankri BOOK: Professional InfoPath 2003 1 April 29th, 2008 06:54 AM
Query from a Repeating Table (via WS and C#) CSSmitty Infopath 2 September 10th, 2007 06:15 AM
Repeating Table Clone Row edove Infopath 1 February 22nd, 2007 09:03 AM
Chapter 4 Repeating Table Loretta BOOK: Beginning Dreamweaver MX/MX 2004 MX ISBN: 978-0-7645-4404-0; MX 2004 ISBN: 978-0-7645-5524-4 7 March 26th, 2004 03:48 AM
sql & join tables & find a field in multiple table trangd Beginning PHP 2 January 29th, 2004 07:18 PM



All times are GMT -4. The time now is 04:59 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc