• srikanth sfdc
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 5
    Replies
Hi Guys,

we have a account,contact,opportunity tab as standard object in salesforcce
so my requirement is that

i created a visualforce page 
as i have a inputfield with accountname as lookup for that input field to select any account from lookup
and i have a button side of it as "get details"

as i enter an account into the input filed using lookup and press "get details" button i need to get who are all contacts and opportunities available in that account

can any one help me out of this 


Thanks in advance
Hi all,

I have a field in detail page which is text field 
and i want to write a  formule field so tht i have to change the text which is in tht text field to number as the return type in formule field is number


can any one please help out from this with syntax of changing the text value to number
Hi All,

In Accounts Tab, we have Name field , so here i need a validation rule that when i enter name in AccountName field the first letter it should be allowed letter not the numbers or special characters

Example

Account Name - Rakesh    (correct format)
Account Name - rakesh     (correct format)
Account Name - R12@   (Correct format)
 Account Name - r12@   (Correct format)
Account Name - 1Rakesh   (wrong format)
Account Name - #12@   (Wrong format)


as here first letter should be letter (mandatory) when i enter from second letter its up to users wish as number or specials characters can be taken
Hi,

     I have two visualforce pages ex: page1 and page2,  I am calling page2 from page1,  
page2 genarating csv file after completion that i want to redirect page1 but it is not redirecting even i am calling page1 from page2..


  • September 24, 2014
  • Like
  • 0
Hi,

string namevf=name;

            For(Contact objContact:[SELECT  :namevf,id,MailingStreet,MailingCity,MailingCountry,MailingState FROM Contact])
            {
          
          //some code
            
            }

in the above code , I want to replace  ":namevf" with "name"(or any other API name) if I store the API name in another string variable ...
can any one help me on this......
  • September 18, 2014
  • Like
  • 0
Hi Frnds,

I want  validation rule on attendance fields is cannot greater that camp1 duration
I m Doing:
I m inserting the Value in Camp1 start date is 1/8/2014 end date is 10/8/2014 ther Duration be 10 days
I m doing this code :
OR((CMP1_To__c-CMP1_From__c)<VALUE(TEXT(VTI_AD_CMP1_T1__c ) ),
(CMP1_To__c-CMP1_From__c)<VALUE( TEXT(VTI_AD_CMP1_T2__c ) ),
(CMP1_To__c-CMP1_From__c)<VALUE( TEXT(VTI_AD_CMP1_T3__c ) ),
(CMP1_To__c-CMP1_From__c)<VALUE( TEXT(VTI_AD_CMP1_T4__c ) ),
(CMP1_To__c-CMP1_From__c)<VALUE( TEXT(VTI_AD_CMP1_T5__c ) ),
(CMP1_To__c-CMP1_From__c)<VALUE( TEXT(VTI_AD_CMP1_T6__c ) ),
(CMP1_To__c-CMP1_From__c)<VALUE( TEXT(VTI_AD_CMP1_T7__c ) ),
(CMP1_To__c-CMP1_From__c)<VALUE( TEXT(VTI_AD_CMP1_T8__c ) ))
It will show validation msg if i m selecting 12 days.
but if i m selecting 10 days Duration on Attendace fields then there is also show validation msg.

Plz Guide me below Requirement:
I want validation on Attendace fields  if i m selecting 10 day then they will not showing Error msg.


Hi Guys,

we have a account,contact,opportunity tab as standard object in salesforcce
so my requirement is that

i created a visualforce page 
as i have a inputfield with accountname as lookup for that input field to select any account from lookup
and i have a button side of it as "get details"

as i enter an account into the input filed using lookup and press "get details" button i need to get who are all contacts and opportunities available in that account

can any one help me out of this 


Thanks in advance
Hi All,

In Accounts Tab, we have Name field , so here i need a validation rule that when i enter name in AccountName field the first letter it should be allowed letter not the numbers or special characters

Example

Account Name - Rakesh    (correct format)
Account Name - rakesh     (correct format)
Account Name - R12@   (Correct format)
 Account Name - r12@   (Correct format)
Account Name - 1Rakesh   (wrong format)
Account Name - #12@   (Wrong format)


as here first letter should be letter (mandatory) when i enter from second letter its up to users wish as number or specials characters can be taken