• Sarv333
  • NEWBIE
  • 25 Points
  • Member since 2011

  • Chatter
    Feed
  • 1
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 4
    Replies

Hi,

 

How to convert the below query into string??

 

query=[select count() from Account where createddate>:Date.Today()];

 

 

Thanks in advance,

  • August 02, 2011
  • Like
  • 0

Hi,

 

How to convert the below query into string??

 

query=[select count() from Account where createddate>:Date.Today()];

 

 

Thanks in advance,

  • August 02, 2011
  • Like
  • 0

Hi,

 

How to find the count of account records if there are more than 2 lakh records?

 

Thanks,

Malar

  • August 02, 2011
  • Like
  • 0

 mail.setPlainTextBody('------------------------------------------------------------------------------------------------------------
      
       S.No   ***  Object Name   ***  Count Of Records Created Today  ***  Count Of Records Modified Today   *****
      
        1     ***  Account       ***            TotalCount[0]         ***               TotalCount[1]        *****
      
        2     ***  Leads         ***            TotalCount[2]         ***               TotalCount[3]        *****
       
        3     ***  Opportunity   ***            TotalCount[4]         ***               TotalCount[5]        *****
       
        4     ***  Contacts      ***            TotalCount[6]         ***               TotalCount[7]        *****
       
        5     ***  Activities    ***            TotalCount[8]         ***               TotalCount[9]        *****
       
       ------------------------------------------------------------------------------------------------------------- ');
       

How to set the above value as string for sending mail???

  • August 01, 2011
  • Like
  • 0

Hi,

 

i used  <apex:inputTextarea richText="true" required="true" /> 

but i'm not getting any error message, if i clicked save button without any value in the text area.

but the other controle like

 <apex:inputField required="true" value="{!account.BillingCountry}"/>  workes fine.

 

 

how to set required field for rich text area??