You need to sign in to do that
Don't have an account?

Application Practice from App Exchange
Hi,
I am Creating an Application called Survey Force from App Exchange.In that i am trying to implement their same Controller called :- GSurveysController but still getting the following Error.
Error :-
Error: Compile Error: Declarations can only have one scope at line 191 column 35
Part Of the Code and line in which i am getting Error :-
public static webservice String deleteSurvey(String deleteId)
{
Survey__c s= [Select Id, Name from Survey__c where Id =:deleteId];
delete s;
return 'true';
}
Please help...
All Answers