![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Help with script Hi all, I am making a page that calls itself to display records from a database. The links are setup as follows: <a href="contractor_display.asp?NAV=#">#</a> For I = 1 To 26 %> <a href="contractor_display.asp?NAV=<%= chr(64 + I) %>"><%= chr(64 + I) %></a> <% Next The above gives me a link for the letters "A" thru "Z" and one for everything else("#"). My problem is the "#" is never recognized. When I reach the following: If Request.QueryString("NAV") = "" Then intPage = "A" Else intPage = Request.QueryString("NAV") End If I do not get the # passed. It returns a blank and the "A" is put into intPage and the A page is displayed. Any ideas on why I cannot get the # to pass? |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Help with script You might get an answer here but this is actually just a VBS group, not ASP. You'd be better off asking in an ASP group. Quote: > I am making a page that calls itself to display records from a database. > The links are setup as follows: > <a href="contractor_display.asp?NAV=#">#</a> > For I = 1 To 26 > %> > <a href="contractor_display.asp?NAV=<%= chr(64 + I) %>"><%= chr(64 + I) > %></a> > <% > Next > > > The above gives me a link for the letters "A" thru "Z" and one for > everything else("#"). > > My problem is the "#" is never recognized. When I reach the following: > > If Request.QueryString("NAV") = "" Then > intPage = "A" > Else > intPage = Request.QueryString("NAV") > End If > > I do not get the # passed. It returns a blank and the "A" is put into > intPage and the A page is displayed. > > Any ideas on why I cannot get the # to pass? |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Help with script ok....thank you "mayayana" wrote: Quote: > You might get an answer here but this is actually > just a VBS group, not ASP. You'd be better off asking in > an ASP group. > > Quote: > > I am making a page that calls itself to display records from a database. > > The links are setup as follows: > > <a href="contractor_display.asp?NAV=#">#</a> > > For I = 1 To 26 > > %> > > <a href="contractor_display.asp?NAV=<%= chr(64 + I) %>"><%= chr(64 + I) > > %></a> > > <% > > Next > > > > > > The above gives me a link for the letters "A" thru "Z" and one for > > everything else("#"). > > > > My problem is the "#" is never recognized. When I reach the following: > > > > If Request.QueryString("NAV") = "" Then > > intPage = "A" > > Else > > intPage = Request.QueryString("NAV") > > End If > > > > I do not get the # passed. It returns a blank and the "A" is put into > > intPage and the A page is displayed. > > > > Any ideas on why I cannot get the # to pass? > > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Logon Script Causing Laptops To Hang - Problems in script? | VB Script | |||
| problem passing args to script 'There is no script engine for file extenstion' | VB Script | |||
| Include another script, keep variables in included script? | PowerShell | |||
| Script file has 'OS Handle' error when run from script | PowerShell | |||
| Can you drag-n-drop a file on top of a PS script to run the script? | PowerShell | |||