Hi there
After spending a whole day with trying to make a SQL connection to work, I'm almost giving up.
I'm using InfoPath 2010, Browser-enabled Form (deployed to Sharepoin 2010)
I previously created a SQL receive data connection to a table, lets call it PhoneNumbers.
The table has the following columns: id, phonenumber, department
In my InfoPath, I have a dropdown list with department names, and a dropdown list for my phonenumbers.
The department names is hardcoded values.
I bind the data connection to the second dropdown, and in it's properties I adds a filter that says "(SQL)department = (field)department"
I add a action event to the first dropdown, so when department is changed it query's the data connection.
Everything works.. and I have no problems with publishing it to my Sharepoint.. my problems comes here 3 weeks later..
I needed to create a new filteres dropdown, another table, or this time it's a view.
I setup everything like I did with the numbers.. my preview works fine.. but when I try to publish it, I'm getting this error:
"The form template has been published to the server but it can only be opened in InfoPath Filler because it contains features that are not compatible with Web browsers"
In my Design Checker, it only says:
"Count not verify the form template on the target server...... http://......./_vti_bin/FormsServices.asmx"
So here is my question.. why can I have another SQL filtering, when the first one worked?
I did published the data connection to the sharepoint external connection list, and I did approve it.
I tried it over and over again.. nothing makes sense.. I started from scratch, and with another SQL table.. I got it to work.. but when I changed it to my view, nothing works..
What "requirements" does filtering of a SQL data source have?, does it need a ID/primary key.. is only tables supported?
And one last important info.. as soon I remove the filter, it works.
Regards
Kenneth