[A-B] [C-D] etc..

Results 1 to 2 of 2

Thread: [A-B] [C-D] etc..

  1. #1
    Bart[GW] Guest

    Default [A-B] [C-D] etc..

    Hello, I was wondering if anyone can help me to that kind of sorting through record sets? I accomplished paging but this kind of A-Z style would be more efficient, any help?

  2. #2
    Join Date
    Dec 1969

    Default RE: [A-B] [C-D] etc..

    Make the [A-B] a link to the results page like this:<BR><BR>&#060;a href="results.asp?First=A&Second=B"&#062;[A-B]&#060;/a&#062;<BR><BR>and [C-D] will be:<BR><BR>&#060;a href="results.asp?First=C&Second=D"&#062;[C-D]&#060;/a&#062;<BR><BR>etcetra.<BR><BR>Then on the results page, you will have something like this:<BR><BR>first = Request.QueryString("First")<BR>second = Request.QueryString("Second")<BR><BR>SqlStatement = "Select * From Table Where Field Like " & first & "%&#039; Or field Like " & second & "%&#039; Order By Field;"<BR><BR>See if that doesn&#039;t fix you up.<BR><BR>AL<BR><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