Doug
|
Posted: 11/10/2003, 6:43 AM |
|
Since CCS does not allow you to select multiple primary keys, it does not allow you to send more then one value from a list page to a maint page. I am trying to send both primary keys so that the right record comes up.
I guess this is the code to send the 1 parameter, but I cannot figure out how to edit it to make it send two parameters (The second parameter I need sent is the TIME_KEEPER_NO.
if($is_next_record && $ShownRecords < $this->PageSize)
{
do {
$this->ds->SetValues();
$Tpl->block_path = $ParentPath . "/" . $GridBlock . "/Row";
$this->TIME_KEEPER_EMP_ID->SetValue($this->ds->TIME_KEEPER_EMP_ID->GetValue());
$this->TIME_KEEPER_NO->SetValue($this->ds->TIME_KEEPER_NO->GetValue());
$this->TIME_KEEPER_EMP_ID->Parameters = CCGetQueryString("QueryString", Array("ccsForm"));
$this->TIME_KEEPER_EMP_ID->Parameters = CCAddParam($this-TIME_KEEPER_EMP_ID->Parameters, "TIME_KEEPER_EMP_ID", $this->ds->("TIME_KEEPER_EMP_ID"));
$this->TIME_KEEPER_EMP_ID->Page = "TIME_KEEPER_maint.php";
|
|
|
RonB
|
Posted: 11/11/2003, 2:24 PM |
|
Use hidden field in the listform for and assign the time_keeper_no to it.
In the link properties you can now choose the time_keeper_no field to be transmitted.
Ron
|
|
|
Doug
|
Posted: 11/12/2003, 7:04 AM |
|
Thanks Ron
I knew it was something simple.
|
|
|
|