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 / March 2006

Tip: Looking for answers? Try searching our database.

Have a repeating field repeat its original value

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
costaanthony@gmail.com - 31 Mar 2006 04:05 GMT
I'm not sure how to implement this unusal feature.  Trying to work from
a pre-determined (and faulty in my opinion :P) schema, where I have a
repeating section for different projects.  But these series of projects
(within each form that will be filled out) all have the same charge
code.

Projects
---Project (repeating group)
---field1
---ChargeCode
---field3

Is there a way to allow the user to input the Charge Code in the first
iteration of the repeating section, then have it repeat the same value
for the rest of the projects???  The effect would be that the
ChargeCode value would appear in every single Project section in that
xml.  I really need some help on this one.  Thanks in advance!

Anthony
S.Y.M. Wong-A-Ton - 31 Mar 2006 11:40 GMT
Try using the following as the Default Value on the ChargeCode field:

../preceding::my:ChargeCode[1]

How to set it?
1. Double-click on the ChargeCode field
2. Click on the "Insert Formula" button behind the "Default Value" field.
3. Select the checkbox "Edit XPath (advanced)" on the "Insert Formula"
dialog box.
4. Enter the expression in the "Formula" box.
5. Click on [OK] to close all open dialog boxes.
---
S.Y.M. Wong-A-Ton

> I'm not sure how to implement this unusal feature.  Trying to work from
> a pre-determined (and faulty in my opinion :P) schema, where I have a
[quoted text clipped - 15 lines]
>
> Anthony
 
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.