I want to search data in second column instead of four column in view in domino lotes 7.0. how can i do it instead of searching four column
Subject: RE: Searching in view
Your question is a little vague. If you provide more information we can help you. There are multiple ways to search for data in Notes.Are you asking this as a user trying to search for documents manually, or as a developer writing code?
If writing code, please show us what code you have so far.
By searching for values “in a column,” do you mean that you want to find the exact value in the column, or that the column value contains the search term somewhere but not necessarily at the beginning?
Can you please give a specific example of the kind of search you want to do?
Subject: RE: Searching in view
Thanks so much for your observation and your valuable time.
Query: As a developer I have to write code for search data in the view.(i.e) If I have four columns data in the view such as name, prodcode, price, pieces. If the user want to search data in only prodcode.
My code is url+viewname?Open view with parameters such as start,number of records
Now this functuality is searching in the four columns.But I want to search in one column (i.e) (prodcode)
Subject: RE: Searching in view
So you’re talking about doing a full-text search in a web application. Please read about the full-text search syntax in the Notes user help. It’s very easy to search in just a specified field. Many things are so simple if you read the documentation, that it’s not necessary to ask a question about it. It saves you time and also us.
Subject: RE: Searching in view
This is the maximum arguments while passing to the view.Sorry if I waste your valuable time. I go through documentation of view search and there is no option for sending fields. Understand Andre I am not simply posting the questions and i am not expert as you understand. Here I can pass the particular field. If any thing wrong please give your feed back and send me the syntax of how to pass .I am waiting for your reply. Once again sorry if any thing wrong in my side.Thanks very much
Subject: RE: Searching in view
Please read about the full-text search syntax in the Notes user help – not the Designer help. Specifically, the document titled “Refining a search query using operators”.
I have submitted a documentation change request to create a link to this help document from the two Designer help documents that describe the URL commands for searching for documents. Please note that anyone can submit documentation requests by clicking the Feedback link that appears at the bottom of each help document. This is the way I do it myself.
In this case, you want to search in a particular field (not a particular column – you’re searching documents, not view entries). So your query would be:
Replacing fieldname with the field you want to search in.
Subject: RE: Searching in view
Thanks lot so much for your help
Subject: Searching in view
If you mean a quick search (when the user just starts typing to jump to a record in the view) then that column must be the first sorted column in that view.
The quick search always acts on the first sorted column, so one option would be to allow the user to sort the column first, and then search.
Subject: RE: Searching in view
Thanks so much for your observation and your valuable time.
Query: As a developer I have to write code for search data in the view.(i.e) If I have four columns data in the view such as name, prodcode, price, pieces. If the user want to search data in only prodcode.
My code is url+viewname?Open view with parameters such as start,number of records
Now this functuality is searching in the four columns.But I want to search in one column (i.e) (prodcode)