CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Sending Multiple values in the URL

Print topic Send  topic

Author Message
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.

   


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

MS Access to Web

Convert MS Access to Web.
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.