hi. just got stuck with my previous, next button <BR>i have a page that has different records. ive thought of using buttons to go through the next and previous pages. when i click the next button im having this error: <BR><BR>The application is using arguments that are of the wrong type, are out of acceptable range, or are in conflict with one another. <BR><BR>/ceo_othertop4.asp, line 44 <BR><BR>and that line is this: <BR>allSQL = "SELECT * FROM recruit_Personal_Details WHERE priority = 1(or any number from 1 to 5) " <BR>Set allRS = Server.CreateObject("ADODB.Recordset") <BR>*line 44-&#062;allRS.Open allSQL, oConn , adOpenStatic, adLockReadOnly, adCmdText <BR>allRS.MoveNext <BR><BR>i thought that maybe i have the same dbase connection using the variable &#039;allSQL&#039;, but there wasnt any... <BR>the string a gets the priority <BR>does anybody have an idea? any help would be appreciated!