M
mvprofessor
I'm displaying records queried on a date field, automatically displaying the
current date's data on page load. I have a text box displaying the query
date, with "prev" and "next" buttons (and then a "go" button) to select
another date. My problem is that when the new query results appear, the
default date in my query form is set back to the current date (I assume
because of a page refresh), and I want it to keep the last query date. In
other words, the viewer can't continuously query consecutive dates with just
one "prev" or "next" click - he has to keep starting over from the current
date. The only solution I can think of is to give him a session cookie with
his last query date and check for it on page load. Is there some way to
refresh the database results table and leave my query form alone?
current date's data on page load. I have a text box displaying the query
date, with "prev" and "next" buttons (and then a "go" button) to select
another date. My problem is that when the new query results appear, the
default date in my query form is set back to the current date (I assume
because of a page refresh), and I want it to keep the last query date. In
other words, the viewer can't continuously query consecutive dates with just
one "prev" or "next" click - he has to keep starting over from the current
date. The only solution I can think of is to give him a session cookie with
his last query date and check for it on page load. Is there some way to
refresh the database results table and leave my query form alone?