Since it's not possible to filter data on the server side when reading from SQL Server, I try to implement a WCF webservice which can be used for reading data from a SQL Server database.
It should have one function which can be passed the SQL statement, and it should return the required values.
I tried to pass the values back as a DataSet (as described for example
here). Unfortunately InfoPath doesn't seem to be able to handle the DataSet properly: It shows the Result, but not the DataSet, any tables or fields in it.
Do you have any idea how to accomplish this task?
Thanks Pascal