You need to sign in to do that
Don't have an account?
sales@myvarma
vf page to search for opportunities using name
i mm trying to create vf page search field
when i search with name should get opportunities with that name
and we should get option to edit their it self
when i search with name should get opportunities with that name
and we should get option to edit their it self
http://salesforcedeveloperblog.blogspot.in/2011/07/like-operator-in-soql.html
https://developer.salesforce.com/forums/?id=906F00000008ny2IAA
Example:
All Answers
Please find below sample VF page and Controller. Here, I am querying only one Opportunity, you can change it as per your requirement.
VF Page: OppNameSearch
Controller: OppNameSearchController
Please let us know if that helps you.
Best Regards,
BALAJI
System.QueryException: List has no rows for assignment to SObject
Error is in expression '{!method}' in component <apex:commandButton> in page oppnamesearch: Class.OppNameSearchController.method: line 8, column 1
Class.OppNameSearchController.method: line 8, column 1
VF Page:
Controller:
Please let us know if that helps you.
Best Regards,
BALAJI
every opprotunity named p as starting letter must be result
http://salesforcedeveloperblog.blogspot.in/2011/07/like-operator-in-soql.html
https://developer.salesforce.com/forums/?id=906F00000008ny2IAA
Example:
System.QueryException: List has more than 1 row for assignment to SObject
Error is in expression '{!method}' in component <apex:commandButton> in page oppnamesearch: Class.OppNameSearchController.method: line 13, column 1