Hi all,
I'm trying to filter a drop down list in an infopath form based on the selection made in another drop down list. I am following this blog http://www.sharepoint-tips.com/2007/01/infopath-form-services-implementing.html
I have followed the steps in the blog exactly (using the state and cities example) and it all worked fine for me. I then went to apply it to my own example in which when the user selects an 'organisation' from a drop down list I want the 'primary contact' drop down list to be filtered.
I have ran into a problem in which the list that is populating the 'primary contact' drop down has a space in the name.... the list is title 'Client Contacts'.
Therefore I'm having trouble adding this into the C# code. Does anyone know how to record the name of a SharePoint list with a space in it using C#? I have tried 'Client%20Contacts' but I get an error with this. I have tried 'Client_Contacts' but it doesn't work. I have also tried 'Client Contacts' which brings back an error. Finally I tried 'ClientContacts' which doesn't work either.
Appreciate your help.
Thanks.