calling DRW asp w/query string (Full Version)

All Forums >> [Web Development] >> General Web Development



Message


junhow -> calling DRW asp w/query string (2/4/2002 16:04:21)

I have a DRW that includes a person's name, e.g. "Smith, John". I've made this column a hyperlink to an asp that will include the person's name.
The problem I'm having is that the blank is removed from the person's name when submitted to the asp.

When I hover over the hyperlink it shows as staffSearch.asp?SearchString=Smith+John

My code is ../../OPD/staffSearch.asp?SearchString=<%=FP_FieldURL(fp_rs,"Person Responsible")%>

Any suggestions on how to prevent from losing the blank space?



Edited by - junhow on 02/04/2002 16:07:45




rdouglass -> RE: calling DRW asp w/query string (2/4/2002 16:29:43)

maybe something like:

../../OPD/staffSearch.asp?SearchString=<%=replace(FP_FieldURL(fp_rs,"Person Responsible")" ","%20")%>

or

../../OPD/staffSearch.asp?SearchString=<%=FP_FieldHTML(fp_rs,"Person Responsible")%>

Sorry, can't remember which one - I'm shooting from memory at the moment...

 




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.09375