Variable question

Results 1 to 2 of 2

Thread: Variable question

  1. #1
    Join Date
    Dec 1969

    Default Variable question

    I am beating my head against the wall, I am sure its an easy fix. Based on this code, everything works fine, yet I have a sort option that upon selection, resends the page and re-sorts based on the choice. When this happens, I am losing my 2 main variables, as they are being retrieved from a form. Any ideas of how to maintain these variables upon refresh? TIA...<BR><BR>Dim strWhatDate<BR>strStartDay = request.form("txtStart")<BR>strEndDay = request.form("txtEnd")<BR>strWhatDate = "BETWEEN " & strStartDay & " AND " & strEndDay & ")" <BR><BR>--I then use this to build a query to retrieve the records...Yet lose these variables upon re-sort...Help please!<BR><BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Variable question

    strStartDay = request("txtStart")<BR>strEndDay = request("txtEnd")<BR>then include txtstart and txtend in the querystring of the url you are sending<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts