Well, Grant, you tip is the solution and it worked perfectly! Thanks a million!!
On Jul 30, 4:16 pm, Grant Cox <[EMAIL PROTECTED]> wrote: > 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 cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---