Thanks for the input. Unfortunately this is a FrontPage generated view.asp. "Request" is not defined.
When passing an ID to a "detial.asp?co_ID=4" page the parameter is referenced as ::co_ID:: in the
<!--webot.. s-criteria="{co_ID} EQ {co_ID} +" s-order...
I have given up for now. Just a note: the s-criteria and s-sql=" are Front page generated and appear to be "declarations" for the asp code. If you try to modify the code itself, FrontPage will overwrite your changes based on the information in the comment
<!--webbot...
Rephrase of earlier question
http://www.tek-tips.com/gviewthread.cfm/lev2/4/lev3/31/pid/333/qid/134621
Hyperlinking to -- view.asp?sortcol=company_name
in the asp section <!--webbot DatabaseRegionStart .... s-criteria s-sql="SELECT * FROM company_table ORDER BY ??????? " .... -->...
Thank you . It looks like the insert area is
' " & val & " '
where there are single quotes surrounding double quotes.
When using your syntax as follows:
s-criteria= s-order s-sql="SELECT * FROM co_table ORDER BY '" & sortval & "' "
The following error...
I am trying to do what I know is a very simple thing. Unfamiliar with ASP / Select statement variable syntax, I can't figure out how to:
call the page view.asp?sortcol=company_name (string)
and put the proper place holder into the web bot comment seciton declaring the sql=SELECT...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.