Closed Thread Icon

Topic awaiting preservation: ASP Prob: Next record (DreamweaverMX) (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=12493" title="Pages that link to Topic awaiting preservation: ASP Prob: Next record (DreamweaverMX) (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: ASP Prob: Next record (DreamweaverMX) <span class="small">(Page 1 of 1)</span>\

 
Gynot
Bipolar (III) Inmate

From: Brooklyn, NY
Insane since: Jan 2002

posted posted 10-26-2002 01:37

Ok, as best as I can explain this........
I have a form to search a database and pull the matches from a field and display everything, no prob. On the results page, it displays 10 records at a pop, then buttons to move to next, prev, first, & last records. The problem is when I go to next record, it doesn't go, it picks up blank value.
This is from the top of the page:
<%
Dim results__MMColParam
results__MMColParam = "1"
If (Request.Form("search") <> "") Then
results__MMColParam = Request.Form("search")
End If
%>

Now the navigation seems to call it properly
result.asp?search=BLUE&Submit&offset=10
But it comes up the same as when entering a blank value.

Same navigation works fine on the first page which simply does a select * and displays 10 at a time.

Any input? Ha Ha...get it? Input.... I got a blank input problem and......... ok, I'll shut up

~Peace~
Gary
City Style Creations

Gynot
Bipolar (III) Inmate

From: Brooklyn, NY
Insane since: Jan 2002

posted posted 10-26-2002 04:26

As I stepped away from the computer and had a beer, it hit me like a ton of lead.... Duh... I need to keep repassing the variable from the form from the first page.

~Peace~
Gary
City Style Creations

Gynot
Bipolar (III) Inmate

From: Brooklyn, NY
Insane since: Jan 2002

posted posted 10-26-2002 04:49

Ok, don't laugh.... how do I do that?~LOL

Been tinkering and it's making me crazy!!
This is my first ASP project, not that I'm much better in PHP!~LOL

~Peace~
Gary
City Style Creations

« BackwardsOnwards »

Show Forum Drop Down Menu