You receive "A picture control must be bound to a non-repeating field with a picture data type" error message when you try to embed a picture control in InfoPath 2003 (891771)
The information in this article applies to:
- Microsoft Office InfoPath 2003
- Microsoft Office InfoPath 2003, Service Pack 1 (SP1)
SYMPTOMSYou cannot insert a picture control that is not bound to a non-repeating field in a repeating group in a Microsoft Office InfoPath 2003 form. When you try to bind a picture control to a repeating field in a repeating group, you receive the following error message:
A picture control whose picture is included in the form must be bound to a non-repeating field with a picture data type. If the field is part of a repeating group, then the picture control must be inside a repeating table or repeating section that is bound to that group. Note An example of a repeating field in a repeating group is a repeating table. CAUSEThis problem occurs when you try to bind a picture control to a field of type "simpleType" and not to a field of type "base64." You try to do this in the source database. A picture control in InfoPath 2003 only support fields of type as follows: - base64
- Other picture data types
WORKAROUNDTo work around this problem, you can insert a picture as a static image in the repeating table. The picture that you want to add to the repeating table must be available as a file outside the data source. To insert a picture as a static image in the repeating table, follow these steps. Note Because the picture is a static element, the picture is visible at all times. The picture is visible both before you run a query and after you run a query on the repeating group.
The picture does not change based on the results of the query. - Put the insertion point where you want the picture to appear in the repeating group.
- Click Insert, point to Pictures, and then click From File.
- Locate the picture that you want to insert, and then click Insert.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 3/15/2005 |
---|
Keywords: | kbQuery kbgraphic kbControl kbtshoot kbprb KB891771 kbAudDeveloper |
---|
|