Getting Unique values from SQL and Sorting - InfoPath Dev Sign in | Join | Help in General InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » General » Getting Unique values from SQL and Sorting Getting Unique values from SQL and Sorting Last post 10-21-2005 09:39 AM by ChipGandy. 2 replies. Page 1 of 1 (3 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 10-21-2005 09:04 AM ChipGandy Joined on 10-21-2005 Posts 2 Getting Unique values from SQL and Sorting Reply Contact I've tried all the things that I have seen posted for filtering data into unique values and the one thing that I see is no metion of an external data source like from share point or from SQL. I'm pulling data from a SQL server into a drop down and need to get the unique values and sort them. This selection then drives the next drop down which does the same thing.My field name is Category and it's on the root of the page so it shoudl be a simple xpath statement but i can't seem to figure it out. any help would be appreciated.Thanks 10-21-2005 09:10 AM In reply to franck Joined on 10-03-2005 USA Posts 310 Re: Getting Unique values from SQL and Sorting Mark as Not AnswerMark as Answer... Reply Contact Hi,In your Tools \ Data Connection Screen, if you "Modify..." your connection to your DB, did you try to "Edit SQL..." to modify you statement?Regards,Franck Dauché 10-21-2005 09:39 AM In reply to ChipGandy Joined on 10-21-2005 Posts 2 Re: Getting Unique values from SQL and Sorting Mark as Not AnswerMark as Answer... Reply Contact I thought about that but i have 3 columns from this table that i'm grabbing data. if i filter it at the source, i won't have the data available in the form.The option there would be to create 3 data source connections and pull from each one that's sorted and filtered but how would I setup the form to pull from the correct datasource based on a previous drop down selection? Page 1 of 1 (3 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.