I have a visualforce page, and a controller class. the object name is Calculator__c. I have a method which sends an email out with the data. and the send email method is called after save() method. on one line, I have
mail.setSubject('Calculator -- Manager Approval Request ' + Calculator__c.Id);
I set the email send to myself, and when I got it, the email Subject only says: "Calculator -- Manager Approval Request Id", the actual Id number was not sent. can someone help, thanks so much.