function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
On a contact I have mailing address and Other Address.
how can I check if the both address are same without writing my own code
any suggestions?
I assume, by code, you mean Apex code. You could write a custom formula. Return type of text
IF( BillingStreet == ShippingStreet && BillingCity == ShippingCity && BillingState == ShippingState && BillingPostalCode == ShippingPostalCode , 'Yes','No')
You can see this by extracting the mailing address and other address by using dataloader and comparing by using excel function
Thanks for the quick response.
modified the formula little bit and works fine.
IF( ISBLANK(MailingStreet) , null,IF( AND(( MailingStreet = OtherStreet ), (MailingCity = OtherCity), (MailingState = OtherState) ), "Yes", null))
This will give me the value only if the address exists, otherwise I was get "Yes" if both are empty.
I assume, by code, you mean Apex code. You could write a custom formula. Return type of text
All Answers
You can see this by extracting the mailing address and other address by using dataloader and comparing by using excel function
I assume, by code, you mean Apex code. You could write a custom formula. Return type of text
Thanks for the quick response.
modified the formula little bit and works fine.
IF( ISBLANK(MailingStreet) , null,
IF( AND(( MailingStreet = OtherStreet ), (MailingCity = OtherCity), (MailingState = OtherState) ), "Yes", null)
)
This will give me the value only if the address exists, otherwise I was get "Yes" if both are empty.