+ Start a Discussion
Sandeep001Sandeep001 

missing ; before statement

I am getting this error 'missing ; before statement' when i am assigning Currency field to another currency field in my s control.

convertedCase.Price_Quote__c={!Lead.Price_Quote__c};

Price_Quote__c is a custom field having 'Currency' as a data type in Sales force DB.

Can anyone suggest me the reason?


canonwcanonw
Try this and see if it works.  I use this to set var type value.

Code:
convertedCase.Price_Quote__c={! TEXT(Lead.Price_Quote__c)};


HarmpieHarmpie
Or what about this?
 
convertedCase.Price_Quote__c="{!Lead.Price_Quote__c}";