
trip
|
| Posted: 01/29/2003, 4:04 AM |
|
i made a page where user can modify their business listing, the first page is where user enter the company_name(key) and password, i used form control (CCS) and second page contain a record form with update button only. question is, how do i pass parameter company_name from page 1 so the second page can display the information including update button. i tried code below under onclick event for first page form button, the link is ok but no parameter defined, only something like (page2.php?)
global $Redirect;
$Redirect = CCGetParam("ret_link", $Redirect);
return true;
(code above copied from dologin)
btw, the db password checking worked fine.
|
|
|
 |
myccs
|
| Posted: 01/29/2003, 7:48 PM |
|
try use addparam
|
|
|
 |
Michael Mikkelsen
|
| Posted: 01/30/2003, 3:20 PM |
|
You my want to take a look at my repy to another post here:
http://www.gotocode.com/disc_viewt.asp?mid=18445&
Since you are using the CCS password checking, I believe the company_name will be stored in a session variable called UserLogin.
Look that the Properties of the Record Form that you are using to update the record. Under the Data tab - Data Source click on the "..." button. Then you can add a table parameter using the "+" button. More detail of this is in the aforementioned post. This should change the SQL statement that is used to populate your update record form.
Michael Mikkelsen
mike.m@pobox.com
|
|
|
 |
|

|