You need to sign in to do that
Don't have an account?
anjin reddy 9
Displaying records by using Search button
Hi folks,
please folks help me out in this sceraniro
My requirement is to creating search button in visualforce page ,,if we search any records by using records name ,it has to display that records details.
Thanks in advance,,,
Thanks
Anjin
please folks help me out in this sceraniro
My requirement is to creating search button in visualforce page ,,if we search any records by using records name ,it has to display that records details.
Thanks in advance,,,
Thanks
Anjin
I dont understand what you are trying to say. If you want only the search text box and no buttons, you can use the "onkeyup" or something else in the <apex:inputText> tag. For eg. :
VF Page:
Controler: This will have only textbox for Status field (or any other field based on which you need to query the database! You have to change the query accordingly) and once you enter text and hit return ("Enter" key on Windows machine keyboards), it will query and return teh results.All Answers
Did something similar here:
https://developer.salesforce.com/forums/ForumsMain?id=906F0000000MHWbIAO
2 types of search functionalities based on whether you want to search the records already being displayed on the table, or whether you want to query the database for the same. Please go through and let me know if it helps!
Thanks for giving such valuble code.
My requirement is that i need to display records details from the database..
Thanks in advance
Anjin
Hi Mani ,
I need to give the command lik is manually...
2)i dont want give the fetch button... when we enter the name its has display related details
could you please give the for this
Thanks in Advance
Anjin
I dont understand what you are trying to say. If you want only the search text box and no buttons, you can use the "onkeyup" or something else in the <apex:inputText> tag. For eg. :
VF Page:
Controler: This will have only textbox for Status field (or any other field based on which you need to query the database! You have to change the query accordingly) and once you enter text and hit return ("Enter" key on Windows machine keyboards), it will query and return teh results.thanks for giving such valuable code .
One request is that after displaying records when enter the name,,has to display link button for aany of fields.
Please give ur contact no ,,based on that i lll contact u if dnt mind
Thanks
Anjin
+919972205440