I'm trying to get a report to show up on the web. I am using visual interdev for my web page design. I'm using an asp page with session variables. I've done this before, but now I can't get this report to work. I have one parameter, it is based on a quote number. The report works fine in Crystal when I refresh the report it asks for the parameter and gives me only that parameter, however when I try to get it to work on the web it doesn't give what is selected on the web. One report it gives me everything one report it give me nothing. I've looked at my old code for the web page and everything looks the same. I've done the report two different ways to see if there is something messed up with the report.
Here is my sql for my one report using a stored procedure:
{call company.dbo.test_quote;1(?)}
when I do this only it give me everything...When I go to Report --> Edit Selection Formula --> Record
When I put in this formula:
{test_quote;1.quote_number}={?@QuoteNum}
it give me nothing only the report headers/titles.
In the visual interdev I put the following code:
<%
reportname = "Report3.rpt"
%>
%>
<!-- #include file="AlwaysRequiredSteps.asp" -->
><%
Session("oRpt"
.ParameterFields.GetItemByName("@QuoteNum"
.AddCurrentValue(Session("QuoteNum"
)
%>
<!-- #include file="MoreRequiredSteps.asp" -->
<%
%>
<!-- #include file="SmartVieweractivex.asp" -->
Does anyone any suggestions on why this isn't working. Any help would be greatly appreciated.
Thanks in advance.
Sandy
Here is my sql for my one report using a stored procedure:
{call company.dbo.test_quote;1(?)}
when I do this only it give me everything...When I go to Report --> Edit Selection Formula --> Record
When I put in this formula:
{test_quote;1.quote_number}={?@QuoteNum}
it give me nothing only the report headers/titles.
In the visual interdev I put the following code:
<%
reportname = "Report3.rpt"
%>
%>
<!-- #include file="AlwaysRequiredSteps.asp" -->
><%
Session("oRpt"
%>
<!-- #include file="MoreRequiredSteps.asp" -->
<%
%>
<!-- #include file="SmartVieweractivex.asp" -->
Does anyone any suggestions on why this isn't working. Any help would be greatly appreciated.
Thanks in advance.
Sandy