index | search | no replies | posting guidelines | help login | register
Index » Products » ASP Report Wizard v2
search this forum:
:: more that one user defined parameter.... :: (11)Post a New Message | Post a Reply
May 11 2004, 1:38 PM
 more that one user defined parameter....Post a Reply
 heavyt

View this author's profile Send this author a private message

from: Van BC

hi,
i have been able to use one user defined parameter by putting ?VarName into the filters. but when i try to add another one, the report does not show up (ie. blank white screen source:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>
<BODY></BODY></HTML>

one user defined, and one regular filter works....
thanks for the help.

tane.

May 11 2004, 2:55 PM
 Re: more that one user defined parameter....Post a Reply
 ghost

View this author's profile Send this author a private message Visit author's homepage

from: Washington, DC

What version are you using? it seems that bug was fixed a while ago.
Please explain more clearly so we can fix the bug. In the mean time, check out this report
http://www.aspwebsolution.com/products/report_wizard/demos/demo_wiz.asp?rid=DEMO2

It uses two user-defined parameters




-------------------------
Ghost
May 11 2004, 4:05 PM
 Re: more that one user defined parameter....Post a Reply
 heavyt

View this author's profile Send this author a private message

from: Van BC

i installed again today, so it should be the latest version.
i dont understand how that demo has user-defined parameters.
for me, when i put ?VarName into the filters and then try to load the report, it says: required parameter(s): with an input box and submit button. (i assume because it has not found it in the queryString)
the problem is when i try to add another parameter...

May 12 2004, 8:41 AM
 Re: more that one user defined parameter....Post a Reply
 ghost

View this author's profile Send this author a private message Visit author's homepage

from: Washington, DC

I really haven't understood your question but I will give it a try...

You created a report with report id = R1
you added a user defined parameter ?VarName into the filters

when you try to load the report it says:
required parameter(s): with an input box and submit button.

That is correct.

To link to this report from another report, by adding a hyperlink field that references this report (R1).  Link one of the fields in your current report to R1  by selecting Insert Hyperlink and adding a link as shown in the format below:

YOUR_FILE_NAME.asp?rid=REPORT_ID&VARIABLE_NAME1={{FEILD_NAME1}}&VARIABLE_NAME2={{FEILD_NAME2}}&closewin=true

for example

e.g. demo_wiz.asp?rid=R1&VarName={{Your Field Name}}&closewin=true

The closewin=true is optional. It only serves to replace the Home url above the report with a Close button.

Also make sure you have installed the latest version 2.1.26

Also check out this report Employees Report (Linked to Employee Detail) it is connected to this report (Employee Detail ) that has user-defined parameters.

For more information on Report Parameters, please check our online tutorial at Adding Report Parameters

Let me know if this helps










-------------------------
Ghost
May 13 2004, 1:41 PM
 Re: more that one user defined parameter....Post a Reply
 heavyt

View this author's profile Send this author a private message

from: Van BC

sorry for being unclear.
i need two (or more) parameters. so that the url might look like:
.....demo.asp?rid=1&StartDate=01/01/04&EndDate=01/31/04
for example a date range: a report for records after this date, but before this other date. this requires two parameters.
i get the 'required parameter' message for when i have only one user-deinfed parameter, but when i try to add another, i get a blank white screen.
thanks for the help here.

tane.


May 13 2004, 1:57 PM
 Re: more that one user defined parameter....Post a Reply
 ghost

View this author's profile Send this author a private message Visit author's homepage

from: Washington, DC

What version are you using?

<%
     Response.Write(objWiz.Version)
%>

Also make sure reports look like this:
1. The report that requires the parameters should have filters like this:
  
    SomeField='?Param1'
    AnotherField='?Param2'


2. The report that is linked to the report above with the Insert Hyperlink Text format, should have its URL look like this:

   demo.asp?rid=1&Param1={{Field1}}&Param2={{Field5}}






-------------------------
Ghost
May 25 2004, 1:03 PM
 Re: more that one user defined parameter....Post a Reply
 heavyt

View this author's profile Send this author a private message

from: Van BC

<%
     Response.Write(objWiz.Version)
%>

gives me the error:

Microsoft VBScript runtime error '800a01b6'
Object doesn't support this property or method: 'Version'




May 25 2004, 1:14 PM
 Re: more that one user defined parameter....Post a Reply
 heavyt

View this author's profile Send this author a private message

from: Van BC

i am still having the same issue.
im sure this is something stupid. this is exactly what i am doing:
from the 'home' page i click the checkbox of a table containing a field called DateEntered. i choose 'build report'. i select the checkbox next to DateEntered and choose next, and next again.
then under filters i enter:
-DateEntered for the field.
-is greater than for the condition
-?StartDate for the value.
then i choose add filter.
then i add another filter exactly the same, except i change the condition to less than, and the value to ?EndDate
i choose add filter and finish.

i get a blank white screen.

thanks for much for the help.

tane.

May 25 2004, 9:08 PM
 Re: more that one user defined parameter....Post a Reply
 ghost

View this author's profile Send this author a private message Visit author's homepage

from: Washington, DC

Mine seems to be working just fine. I think you are using an older version (because your Version property doesn't seem to be working.)
Why don't you download a newer version from the link below and install it.

http://www.aspwebsolution.com/products/report_wizard/download.htm

You can also check your file version by right-clicking on the AWSReportWizard2.dll and selecting properties then click on the version  info tab.

Let me know if this information helps.




-------------------------
Ghost
Jun 24 2004, 5:11 PM
 Re: more that one user defined parameter....Post a Reply
 heavyt

View this author's profile Send this author a private message

from: Van BC

i did get this sorted out.
forgot to post....

i think a reinstall of the dll did it.

ghost, thanks for the help.

also, where can i find info on 'Advanced support for HTML printing' as in the features list.

thanks again.

tane.

Jun 25 2004, 7:23 AM
 Re: more that one user defined parameter....Post a Reply
 ghost

View this author's profile Send this author a private message Visit author's homepage

from: Washington, DC

You can check it here on our online manual

http://www.aspwebsolution.com/products/report_wizard/t_print.htm

Don't forget to set the number of records you want per page before clicking on the Print link button.

Note that the first page will be empty because we put a page break before the start of your report and after the end of your report

When you click the Print link button, you can preview your page to see what I mean.







-------------------------
Ghost
Pages: (1)   [1]

search this forum: