Convert an existing control into a date picker control
When you drag-and-drop a Repeating Table onto an InfoPath form template, the Repeating Table contains Text Box controls by default. If you want to change a Text Box control that’s located within a Repeating Table into another control, for example, a Date Picker, you can use one of the following 2 methods.
Method 1
- Right-click the Text Box control you want to convert, and select Change To and then Date Picker from the context menu that appears.
- Double-click the Date Picker control to open its Properties dialog box.
- On the Date Picker Properties dialog box on the Data tab, change the Data type to Date (date) or Date and Time (dateTime), and click OK.
Method 2
- On the View menu, click Data Source.
- On the InfoPath form template, click the Text Box you want to convert. This will select the node for the Text Box in the Data Source task pane.
- On the Data Source task pane, click the down arrow on the node for the Text Box, and click More on the drop-down menu that appears.
- On the Select a Control dialog box, select Date Picker from the list, and click OK.
- On the Data Source task pane, click the down arrow on the node for the new Date Picker, and select Properties from the drop-down menu that appears.
- On the Field or Group Properties dialog box, change the Data type to Date (date) or Date and Time (dateTime), and click OK.
Add a date picker control to a repeating table
If you don’t want to convert an existing control within a Repeating Table, but want to add a new Date Picker control to a Repeating Table, you can do the following:
- On the InfoPath form template, right-click the column in the Repeating Table after which you want to add the Date Picker control, and select Insert and then Columns to the Right from the context menu that appears.
- Right-click the control you just added, and select Change To and then Date Picker from the context menu that appears.
- Double-click the Date Picker control to open its Properties dialog box.
- On the Date Picker Properties dialog box on the Data tab, change the Data type to Date (date) or Date and Time (dateTime), and click OK.

Comments to this post were closed 30 days after it was published.