working now using session variable
Well ... your solution didn't work, but it let me know that if I could get that variable set correctly, it might solve the problem. On pageload, I set a session variable for the record number. I used that session variable in the form action to set the page correctly. The download is working now. Thanks so much. Sometimes it takes 2 minds to figure it out.