Hello, I'm trying to modify a form we have. The form searches the DBXL, and returns the search results in a list view.
Well anyway, I'm trying to change it to search a different part of the DBXL, but I don't understand how it all interacts. I've made a basic working model that is pretty rough, and the only real problem is that it defaults with a search box that says "Search for policies", which is good, but it also shows an error message below it that says:
Error: Parameter unspecified: searchPhrase
Please report this error to your system administrator.
The error does'nt affect the search, but it does look a little un-professional, and unfinished.
I have tried to get rid of the message in lots of ways, but none have worked so far. The 'searchPhrase' is referenced in the following files:
In a file called searchPolicies.xml
<qt:searchParams>
<qt:searchPhrase qt:paramName="searchPhrase" />
<qt:searchType>All</qt:searchType>
<qt:docType>Policy</qt:docType>
</qt:searchParams>
In a file called Policiestest.aspx
Sub SearchPolicies()
queryView.Parameters("searchPhrase") = (searchText.Value)
I have never seen tags such as <qt:docType>, <qt:queryJob> and <qt:searchPhrase qt:paramName> to name a few. Does anyone know what they are and how they work?
At this point I'm not sure how to get the error to go away. If anyone has an idea, please let me know, as this search 'feature' will be very important as we will have a large amount of uncatagorized data that will otherwise be unusable.
Let me know if you need more information.
Thanks!