If "recordID" is your primary key in the database table (not "id"), then you should have
var $primaryKey = 'recordID'; in your model file. Then you can have $this->ResumeCredit->id = $recordIDofPrevious; $this->ResumeCredit->saveField( ... ); The ->id attribute always means "the models primary key", which by default is set to the field "id". Changing the $primaryKey var will change what this ->id attribute points to in the database, but you still should not use ->recordID. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
