Tobias Ferdinand
|
| Posted: 09/12/2002, 3:07 AM |
|
Hi,
I have a record-form and a grid and a record-form from another Table
(combined by Foreign keys).
So I fill the first record-form. When I send the form, I get on a new, empty
record-form (the return page). But there I want that I get to the record
that I just inserted, because I'll have to fill the second record.
I hoped to find a parameter-section in the return-page-value, but I can only
set a page and no parameters.
Is there an easy way to do this?
Anyone knows what I mean? :)
Tobias
|
|
|
 |
RonB
|
| Posted: 09/12/2002, 11:13 AM |
|
Hi,
I think you can use the preserve parameter in the record properties box. Set
it to all. I'm not usre and didn't check so try it and see if it works.
RonB
"Tobias Ferdinand" <Tobias.Ferdinand@i12.de> schreef in bericht
news:alpp09$4d3$1@news.codecharge.com...
> Hi,
> I have a record-form and a grid and a record-form from another Table
> (combined by Foreign keys).
>
> So I fill the first record-form. When I send the form, I get on a new,
empty
> record-form (the return page). But there I want that I get to the record
> that I just inserted, because I'll have to fill the second record.
>
> I hoped to find a parameter-section in the return-page-value, but I can
only
> set a page and no parameters.
>
> Is there an easy way to do this?
>
> Anyone knows what I mean? :)
>
> Tobias
>
>
|
|
|
 |
Tobias Ferdinand
|
| Posted: 09/13/2002, 1:03 AM |
|
Hi,
seems to work, but nor really 
After inserting, I see all forms filled, but the auto increment id (primary
key) isn't set on the form. So I see the posted data on the next record but
not the database entry. So the database fields filled by 'after insert'
aren't available. But I will try a little bit more later, perhaps I'm on the
right way.
I'll tell you the success...
Thanks for now!
Tobias
"RonB" <r.borkent@123chello.456nl> schrieb im Newsbeitrag
news:alqlgr$p9e$1@news.codecharge.com...
> Hi,
>
> I think you can use the preserve parameter in the record properties box.
Set
> it to all. I'm not usre and didn't check so try it and see if it works.
>
> RonB
> "Tobias Ferdinand" <Tobias.Ferdinand@i12.de> schreef in bericht
>news:alpp09$4d3$1@news.codecharge.com...
> > Hi,
> > I have a record-form and a grid and a record-form from another Table
> > (combined by Foreign keys).
> >
> > So I fill the first record-form. When I send the form, I get on a new,
> empty
> > record-form (the return page). But there I want that I get to the record
> > that I just inserted, because I'll have to fill the second record.
> >
> > I hoped to find a parameter-section in the return-page-value, but I can
> only
> > set a page and no parameters.
> >
> > Is there an easy way to do this?
> >
> > Anyone knows what I mean? :)
> >
> > Tobias
> >
> >
>
>
|
|
|
 |
Tobias Ferdinand
|
| Posted: 09/16/2002, 3:07 AM |
|
I found a way now...
Using the After ExecuteInsert-Code set to:
//
global $Redirect;
$Redirect .= "reminder_id=".mysql_insert_id();
//
works...
"RonB" <r.borkent@123chello.456nl> schrieb im Newsbeitrag
news:alqlgr$p9e$1@news.codecharge.com...
> Hi,
>
> I think you can use the preserve parameter in the record properties box.
Set
> it to all. I'm not usre and didn't check so try it and see if it works.
>
> RonB
> "Tobias Ferdinand" <Tobias.Ferdinand@i12.de> schreef in bericht
>news:alpp09$4d3$1@news.codecharge.com...
> > Hi,
> > I have a record-form and a grid and a record-form from another Table
> > (combined by Foreign keys).
> >
> > So I fill the first record-form. When I send the form, I get on a new,
> empty
> > record-form (the return page). But there I want that I get to the record
> > that I just inserted, because I'll have to fill the second record.
> >
> > I hoped to find a parameter-section in the return-page-value, but I can
> only
> > set a page and no parameters.
> >
> > Is there an easy way to do this?
> >
> > Anyone knows what I mean? :)
> >
> > Tobias
> >
> >
>
>
|
|
|
 |
|