qberta01
Programmer
- Nov 14, 2005
- 113
Hello!
I would like to take my query string:
ASPPage2.asp?Report=Test.rpt&begin=12/1/2006&end=12/31/2006
and somehow loop through it in a way that I get the name and the value pair. For example, the first time through I get:
Dim parameter
Dim paramvalue
Parameter = Report
Paramvalue = Test.rpt
Loop to next one…
Parameter = begin
Paramvalue = 12/1/2006
…..etc….
What I am trying to do is break up the query string and send the values to the parameters in a crystal report. I want to be able to use one asp for all reports and make the parameters dynamic without the need to type out each and every possible parameter. I know this forum is not about Crystal reports, but just wanted to explain why I want to do this. I am not sure that, once split, it will even work because Crystal is a bit fussy.
Anyway, if this is doable please help me out. Oh and if this seems more like a javascript thing let me know and accept my apologies for posting here.
Much appreciated….
Q
I would like to take my query string:
ASPPage2.asp?Report=Test.rpt&begin=12/1/2006&end=12/31/2006
and somehow loop through it in a way that I get the name and the value pair. For example, the first time through I get:
Dim parameter
Dim paramvalue
Parameter = Report
Paramvalue = Test.rpt
Loop to next one…
Parameter = begin
Paramvalue = 12/1/2006
…..etc….
What I am trying to do is break up the query string and send the values to the parameters in a crystal report. I want to be able to use one asp for all reports and make the parameters dynamic without the need to type out each and every possible parameter. I know this forum is not about Crystal reports, but just wanted to explain why I want to do this. I am not sure that, once split, it will even work because Crystal is a bit fussy.
Anyway, if this is doable please help me out. Oh and if this seems more like a javascript thing let me know and accept my apologies for posting here.
Much appreciated….
Q