Ok i think the best way to do it is to have 2 queries:
1:
$query = "SELECT * FROM KEYCAD WHERE (PROCESSEDDATE BETWEEN '$From' AND '$To') AND ACTIVE LIKE 'Y'";
$result = mysql_query($query);
$total = "mysql_num_rows($result);
$total will become the total of the whole lot
2:
if(!isset($PageNum) {
$PageNum = 1;
}
$NumPerPage = 10;
$query = "SELECT * FROM KEYCAD WHERE (PROCESSEDDATE BETWEEN '$From' AND '$To') AND ACTIVE LIKE 'Y' LIMIT ". $pageNum * $NumPerPage .",$NumPerPage ";
$result = mysql_query($query);
What I have done here is made $NumPerPage = 10 so it will only show 10 rows, $PageNum is the page number; in your next previous links just increment or de-increment (if thats a word) the page number.
Hope this helps.