The filter may filter data in the first item of the repeating section or in the first item of the repeating table instead of in the current item in InfoPath 2003 Service Pack 1 (870843)
The information in this article applies to:
- Microsoft Office InfoPath 2003, Service Pack 1 (SP1)
SYMPTOMSYou can use a filter on a control in a repeating section or in a repeating table. However, the filter may filter data that is based on data in the first item of the repeating section or in the first item of the repeating table instead of in the current item.RESOLUTIONIf the control is in the context of the repeating container, replace the part of XPath for the filter that matches the binding of the repeating container with the current() property. For example, to use the current() property, replace the part of XPath in the "Steps to reproduce the problem" section. To do this, follow these steps: - Start Microsoft Office InfoPath 2003 Service Pack 1.
- Open your template.
- Right-click the second list box, and then click List Box Properties.
- In the List Box Properties dialog box, click Select XPath under Entries.
- Click Filter Data, and then click Modify.
- In the Specify Filter Conditions dialog box, click Use a formula in the third list box.
- In the Insert Formula dialog box, click to select the Edit XPath (advanced) check box.
- In the Formula box, type the following:
current()/yourfield
Modification Type: | Major | Last Reviewed: | 12/1/2004 |
---|
Keywords: | kbXML kbtshoot kbprb KB870843 kbAudDeveloper kbAudEndUser |
---|
|