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