CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 Retain new record on insert

Print topic Send  topic

Author Message
Adam Marash
Posted: 04/26/2001, 3:37 AM

On 'Insert' I would like to pass the newly obtained company_id to the next
page. Using 'Form Properties|Input - check transfer' doesn't seem to pass a
newly created id to the next page. What to do?

Walker P.
Posted: 04/26/2001, 8:11 AM

Adam,
you use 'Form Properties|Input - check transfer' to select parameters that
you will be passing to the current form and optionally transfer them to the
next form. In the case of an insert, your newly created conpany_id is
probably not passed to the insert form and thus cannot be transfered from
it.

What you could do is use the "After Insert" method to set the variable. e.g

session("company_id") = fldCompnay_id

CodeCharge Support


"Adam Marash" <faxman @ altavista.net> wrote in message
news:9c8tof$7lq$1@mail.tankhill.com...
> On 'Insert' I would like to pass the newly obtained company_id to the next
> page. Using 'Form Properties|Input - check transfer' doesn't seem to pass
a
> newly created id to the next page. What to do?
>
>


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.