J
|
Jane 10/31/2008 |
Hi, <input type=button class=button value=Button1 onclick="TableName_list.php?showrecords=own">
function BeforeQueryList(&$strSQL,&$strWhereClause,&$strOrderBy) { global $strTableName; if (@$_REQUEST["showrecords"]=="own") $strWhereClause = whereAdd($strWhereClause,"OwnerIDField=".$SESSION["".$strTableName."_OwnerID"]); } // function BeforeQueryList |
C
|
cartman author 10/31/2008 |
Hi, you can add custom button on the page (generated templates/..._list.htm file). Here is a sample: Then add new List page: Before SQL query event in the generated include/..._events.php file. Here is a sample:
|