S
|
Seraph author 6/29/2010 |
Hi, In event tab: "List Page: Custom Query" I have these parameters: ------------------------------------------------------------------------------ Parameters $searchObj - Instance of a class which performes search $orderBy - Array with field order $howOrderBy - Array with sort type for 'orderBy' array $masterTable - Master table name $masterKeysReq - Array of keys $selectedRecord - Array of selected records on Print Page, null on List Page $pageSize - Number of records per page $myPage - Current page number ------------------------------------------------------------------------------ I did only: $pageSize = 10; But when I build the progect and open the list page I receive this error: Error type 2 Error description mysql_fetch_array(): supplied argument is not a valid MySQL result resource URL "MySite"/STELLAMARIS_V_VISITS_list.php? Error file "MySite"/include/dbconnection.php Error line 70 SQL query select count(*) FROM MyTable File: line Function Arguments 0. include/dbconnection.php:70 mysql_fetch_array 1. ;
|
A
|
ann 6/30/2010 |
Hi, |
S
|
Seraph author 7/1/2010 |
Hi, usually ListQuery event is used in binding with the ListFetchArray event to change initial SQL query and re-write values in the table on the list page. To change $pagesize variable proceed to the Miscellaneous tab and set up Records per page option as desired.
|
A
|
ann 7/2/2010 |
Hi, if (Condition){
|