this->redirect(array
> ('action'=>'index'));
> } else {
> $this->Session->setFlash(__('The
> Timespan could not be saved.',true));
> }
> } else {
this->data)){
>
> $this->Session->setFlash(__('The Record
> has been saved', true));
> $this->redirect(array
> ('action'=>'index'));
> } else {
>
normally i would read it out with php, put them in vars and addition
the values and resave them.
On Dec 2, 10:49 am, webscriptz <[EMAIL PROTECTED]> wrote:
> Sorry for that,
>
> I have a model Records and Timespans. DEBET and CREDIT have to be
> inserted in the records tab
nships are described in the
> models for those two entities ...
>
> So, for example if you want to add the values from a Record to the
> values in the related Timespan, you would reference the $this->Record
> and $this->Record->Timespan
>
> On Dec 1, 1:45 am, webscriptz <[
I'm making a register and I have a small problem,
I want two numbers to be additioned (+) with the numbers already in an
other table, unfortunantly I don't know how to do this.
i have a Record with "debet" and "credit" and i want to addition them
to "debet" and "credit" in timespans.
but they g