ok, two questions here.... hopefully should be my last questions, but i want to implement something that would make a "printer friendly" version of the database, much like if you were to use "reports" in micro$oft access. and the second, i have about 10 columns in the database, and i want to organize the entire table alphabetically by the "description" column. i can do this by clicking "description" each time, but id like it to always be ordered that way.
You can add the sort to your URL so that you can link directly to a page that is already sorted properly. You use the "-sort=colname" parameter in the url.
e.g.
http://yourdomain.com/yourapp/index.php?-table=foo&-action=list&-sort=description
or something like that.
Does that help.
If that isn't good enough, you can hard-code this into your index.php file:
if (!@$_GET['-sort'] and $_GET['-table'] == 'foo'){
$_GET['-sort'] = 'description';
$_REQUEST['-sort'] = 'description';
}
If you're looking to make a special report page that is nice for printing, you may want to just make a custom action though and lay it out exactly the way that you want.
Best regards
Steve