I have a SQL Server database with a table that has a field, discussedOutside, which is of type varchar(2). I also have a web service that accesses that table, and in that service the class that defines the data to be returned to InfoPath has a field, discussedOutside, which has a type of string. Finally, my InfoPath form has a pair of Option Buttons bound to data source field called discussedOutside. This data source was created automatically when I created the form via the design a Form/Using a Data Connection/Web Service wizard.
The problem is that when I hit the Run Query button, it populates all of the text boxes correctly from the database, but the option button for the discusedOutside field doesn't get set. I have verified that the web service method corretly retrieves a Y from the database record, and I have set the "Value when selected" field for one of the option buttons to Y. (The other one is set to N.) Why doesn't this option button get selected?
Any ideas on where I'm going wrong? Many thanks.