You need to sign in to do that
Don't have an account?
jaden
Error Method does not exist or incorrect signature error
I am getting above error on this line contained in block of code below:
Address_parts=AccttoUpdate.BillingStreet('\n');
AccttoUpdate = [SELECT acc.Id, acc.Name, acc.AccountNumber, acc.EDR_Password__c, acc.Industry, acc.Ownerid, acc.ShippingStreet,acc.Shippingcity, acc.ShippingState, acc.ShippingCountry, acc.ShippingPostalCode, acc.BillingStreet,acc.BillingCity, acc.BillingState, acc.BillingCountry, acc.BillingPostalCode FROM Account acc WHERE acc.ID = :AccttoUpdateID]; //Split SF Street into 2 fields List<string> address_parts = new List<String>(); Address_parts=AccttoUpdate.BillingStreet('\n'); If(address_parts.size()>=1) edrNewCustomer.Address1=address_parts[0]; If(address_parts.size()>=2) edrCustomer.Address2=address_parts[1];
Any Assistance greatly appreciated.
Thank you for the fix, just could not see I missed the split.
All Answers
Thank you for the fix, just could not see I missed the split.