index | search | no replies | posting guidelines | help | login | register |
Index » Products » ASP Report Wizard v2 |
| |||||||
Jul 19 2005, 8:42 AM |
| ||||||
MindTelligent since: May 10, 2005 from: El Dorado Hills, CA | The Search Condition Dropdown Works great. Is is possible to set the default index to the dropdown "Labels". I have about 6 columns in the drop down. I want to set the default value to index 3 every time the report is used, so that the user does not have to select the "column". Please help | ||||||
Jul 19 2005, 1:15 PM |
| ||||||
ghost from: Washington, DC | Will make sure DefaultFilterFieldIndex property is added by the next release. e.g. objWiz.DefaultFilterFieldIndex = 3 ------------------------- Ghost | ||||||
Jul 20 2005, 9:07 AM |
| ||||||
MindTelligent since: May 10, 2005 from: El Dorado Hills, CA | Thanks for the prompt response. This is a great product!! | ||||||
Jul 22 2005, 9:19 AM |
| ||||||
ghost from: Washington, DC | The following properties DefaultFilterConditionIndex and DefaultFilterFieldIndex are available as of version 2.5.65------------------------- Ghost | ||||||
Jul 26 2005, 8:14 AM |
| ||||||
MindTelligent since: May 10, 2005 from: El Dorado Hills, CA | I downloaded the latest version yesterday. Added the floowing lines objWiz.DefaultFilterConditionIndex=1 objWiz.DefaultFilterFieldIndex=3 When I ran the report, It DID NOTdefault to the filter indexi Please help | ||||||
Jul 26 2005, 10:15 AM |
| ||||||
ghost from: Washington, DC | This bug has been fixed and will be available in the next minor release. (Apparently some other initialization was reseting the index to -1) ------------------------- Ghost | ||||||
Jul 27 2005, 6:06 PM |
| ||||||
ghost from: Washington, DC | These properties are now working as of the current version v2.5.66 ------------------------- Ghost | ||||||
Jul 29 2005, 8:03 AM |
| ||||||
MindTelligent since: May 10, 2005 from: El Dorado Hills, CA | I tried it with the latest download, it does not seem to work. Best Regards | ||||||
Jul 29 2005, 8:15 AM |
| ||||||
ghost from: Washington, DC | Can I see your source code! P/S: Also make sure you are running v2.5.66 (build 2.0.566) or greater as follows: Response.Write(objWiz.Version) ------------------------- Ghost | ||||||
Jul 29 2005, 8:43 AM |
| ||||||
MindTelligent since: May 10, 2005 from: El Dorado Hills, CA | I verified the version, it it 2.0.566 Please see the code below for default.asp <% Dim objWiz Set objWiz = Server.CreateObject("AspWebSolution.ReportWizard2") Response.write("Report Version" & objWiz.Version) 'Make sure you initialize before adding any HTML text 'TODO: Change this to your actual connection tring objWiz.Init("provider=sqloledb; data source = appsrv; uid=sa; pwd=123; DATABASE=STOCKTON_SCHEDULER") 'put this where you want your reports objWiz.OverridePageSize=50 objWiz.CanDelete=False objWiz.DisplayReports objWiz.DefaultFilterFieldIndex = 3 objWiz.DefaultFilterConditionIndex=3 Response.write(objWiz.Version) Set objWiz = Nothing %> | ||||||
Jul 29 2005, 9:28 AM |
| ||||||
ghost from: Washington, DC | Remember to always set all your properties before calling any methods. Init and DisplayReports must come after all your properties have been set. The Filters get created before the report so if you create the report (DisplayReports) before setting your properties, the properties will have no effect because the filters have already been created. <% ------------------------- Ghost | ||||||
Jul 29 2005, 10:00 AM |
| ||||||
MindTelligent since: May 10, 2005 from: El Dorado Hills, CA | Thanks, it works great!!! | ||||||
Pages: (1) [1] |