mike091 wrote:

> Currently have  $this->params['data']['Enquiry']['status'] = 'booked';
> in my appointments controller.
> 
> I need to change the status field in my enquiries table when a record
> is edited. I can get it saving to a status field in the appointments
> table but not in enquiries. What I need is to be able to save to two
> tables (inserting data in one and changing a field in the other). Can
> you tell me if i'm on the right track here?

Check the manual about model callbacks.  I think the proper application 
of those will set you right.


Cheers,

Matt
-- 
BASIC: A programming language.  Related to certain social diseases
in that those who have it will not admit it in polite company.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to