CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 Having trouble passing primary key

Print topic Send  topic

Author Message
Bill Blancett
Posted: 09/04/2001, 7:29 AM

Hey guys I wrote last week b/c I was having trouble passing my primary key
over form the first form to the next form. The primary key I am trying to
pass is the applicant_id. I have it set as an input variable that is a param
type and I have it set to be transferred to the next form. On the next form
I have it set to recieve the applicant_id variable. But it just doesn't
happen b/c only the Insert and Cancel buttons are enabled and not the Update
and Delete buttons. I have also set the applicant_id during the After insert
event with this code in PHP:

$last = mysql_insert_id();
set_session("applicant_id", $last);

But this also does not seem to carry over from the previous form. Could
someone explain this please ?

Bill Blancett
Posted: 09/05/2001, 2:33 PM

My problem was resolved. The reason I was not able to transfer the variables
was because I selected the transfer checkbox and thus was creating two
copies of the same variable.

"Bill Blancett" <bblancett@hbu.edu> wrote in message
news:9n2ofl$6k3$1@news.codecharge.com...
> Hey guys I wrote last week b/c I was having trouble passing my primary key
> over form the first form to the next form. The primary key I am trying to
> pass is the applicant_id. I have it set as an input variable that is a
param
> type and I have it set to be transferred to the next form. On the next
form
> I have it set to recieve the applicant_id variable. But it just doesn't
> happen b/c only the Insert and Cancel buttons are enabled and not the
Update
> and Delete buttons. I have also set the applicant_id during the After
insert
> event with this code in PHP:
>
> $last = mysql_insert_id();
> set_session("applicant_id", $last);
>
> But this also does not seem to carry over from the previous form. Could
> someone explain this please ?
>
>
>


   


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

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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