in the above code,actually no record exisits in database to return the rows.But because of this error it discards the further execution of the code.So can anyone please suggest how do i get rid of this error when there are no records present in database?

Hello ,I am using Developemnt Org. And in the Build--> Customize section, I could'nt find Task object. I need to write some trigger on it. Please let me know, i am looking in wrong place.. or any issue with the visibility ?

Hi folks, Can anyone tell me how to download the multiple files via apex?I have a visualforce page which contains download button. Once I click this button then it will download all the files in my attachement object.For that how can i implement.

Hi folks, Can anyone tell me how to get the id of the feedItem files?Like I want to know the id(ContentDocument.LatestPublishedVersionId) of the files that are attached to the feeditem and feedcomment.Please someone give me the soql for above usecase.

My question is once the document is downloaded then it will automatically redirect to another page as mentioned above.I have tried using action attribute,calling redirect method from constructor. but nothing happen.Finally I got the idea is using javascript we can redirect automatically.but it dosent work for me.

Hi folks, Can anyone tell me how to execute the action mthod as first and javascript function as second .

My problem is: I have command button which has action method and js function.I want to execute action function as first like (handle all the validation errors ) and then execute javascript function if there is no valdiation error.If there is valdiation error then the page still remains same.

Hi folks, Can anyone tell me how to write the trigger based on the approved records?LikeI want to enter the records to queue if the record is approved by appropriate user.I need a sample code for this..

Hi follks, Can anyone tell me what is the purpose of AddFields Method in Standard Controller?I Cant get what they provided in salesforce doc.I need a clear explanation with example and please explain me when should I use it?Any help would be greatly appreciate

Hi folks, Can anyone tell me how to hide and show outpanelMy usecase is:I have 2 output panel. In the first I have a button when I click on the button the 1st outputpanel should get hide and 2nd one get display.and same for second output panel

For that how can i write code for visualforce pageIs ther any sample code for this usecase

Hi folks, can anyone tell me soql for getting user id who has access the record??Like I have created test objects5 users in my org.if user 1 creates record on test object then user2,user3,user5 access that reocrd and user4 cannot access the reocrdI wanna soql query for get all user id who has permission to access the record that is created by user1

Please help me modify the above code in trigger which i wrote in simple SQL. I want to update RemitfromUsedStatus == True on account object when account Enterprise_ID is a RemitFrom ID( RemotFrom_ID is a look up to account object on enterprise ID) for some records.

Hi folks, Can anyone tell me how to download the multiple files via apex?I have a visualforce page which contains download button. Once I click this button then it will download all the files in my attachement object.For that how can i implement.

Hi folks, Can anyone tell me how to get the id of the feedItem files?Like I want to know the id(ContentDocument.LatestPublishedVersionId) of the files that are attached to the feeditem and feedcomment.Please someone give me the soql for above usecase.

Hi I have a question which I'm not 100% is possible in Salesforce but will welcome any suggestions / ideas. I have an APEX class which creates multiple licence keys and has dual functionality, it will either allow the user to email them as part of an email body or create the licenses as a txt file attachment to an outbound email. Now the issue is the text file needs to be enclosed within a zip file due to different mail clients unable to process the .lic extension. Is there any mechanism which will let me wrap a txt file into a zip file as part of an attachment ? Been wracking my brain for ages on this. Any assistance would be welcome even if its not possible.