Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:675305
More Search Options
RSS Available
Matching Posts
Re: rpt asking for parameters
Here is the report start event: rdSac = new ReportDocument(); string reportPath = ""; reportPath = Server.MapPath("WeeklySACCodeReport.rpt"); rdSac.Load(reportPath); string connString = ConfigurationManager.ConnectionStrings["HCI-OnixConnectionString"].ConnectionString; SqlConnection connHCI = new SqlConnection(connString); connHCI.Open(); rdSac.RecordSelectionFormula = ""; rdSac.Subreports[0].RecordSelectionFormula = ""; rdSac.SetParameterValue(0
Posted to
Crystal Reports
(Forum)
by
snelldl
on 7/10/2009
Re: rpt asking for parameters
I appreciate the responses, but neither answer why it would work before but not now.
Posted to
Crystal Reports
(Forum)
by
snelldl
on 7/10/2009
Re: rpt asking for parameters
Heres the new code that still doesn't work: _Paramdescrete.Value = _ParamValue.Add(_Paramdescrete); myRpt.DataDefinition.ParameterFields[0].ApplyCurrentValues(_ParamValue); _Paramdescrete.Value = _ParamValue.Add(_Paramdescrete); myRpt.DataDefinition.ParameterFields[1].ApplyCurrentValues(_ParamValue); _Paramdescrete.Value = _ParamValue.Add(_Paramdescrete); myRpt.DataDefinition.ParameterFields[2].ApplyCurrentValues(_ParamValue); _Paramdescrete.Value = _ParamValue.Add(_Paramdescrete); myRpt.DataDefinition
Posted to
Crystal Reports
(Forum)
by
snelldl
on 7/10/2009
Re: rpt asking for parameters
By moving the login ahead of any modifications to the parameters, I was able to get rid of the 1st 3 parameter prompts. The last 3 are for a sub report, which normally are getting passed through automatically. any suggestions?
Posted to
Crystal Reports
(Forum)
by
snelldl
on 7/10/2009
Re: rpt asking for parameters
The logon routines I use are already recursive, but I'll add the code to set the parameters in the subreport. What's weird is that no matter what I do, my development machine always works correctly. All the modifications I made throughout this always worked. I appreciate your help. I'll try this over the weekend and let you know. Thanks!
Posted to
Crystal Reports
(Forum)
by
snelldl
on 7/10/2009
rpt asking for parameters
I have several CR rpts that used to reside on a windows 2003 server, but have been moved to a windows 2008 server. They worked before, but now are asking for parameters that are created and passed in from code behind. Created with vs2005, using crystal engine 10.2.3600.0. They still work fine on my development machine, VS2008, with CR engine 10.5. The reports still pass login correctly on the new machine. The database is the same - was sql server 2005 on original and new machine.
Posted to
Crystal Reports
(Forum)
by
snelldl
on 7/9/2009
Re: aspx page and code behind page not seeing each other if not in a masterpage
Yup, all those pages had codebehind instead of codefile. Thanks
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
snelldl
on 11/20/2008
aspx page and code behind page not seeing each other if not in a masterpage
I just copied an existing website into vs2008 and tried to compile it. I get a 'could not load type xxx' message where the xxx is the class name for the page. The only pages in the site that do this are ones that have no masterpage declared for them - including the master pages I have. It appears that the mark up page (aspx) can not see the code behind page (even though the pages are shown as linked in the solution explorer) and vice versa. That is, the code behind page can't see any
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
snelldl
on 11/17/2008
Re: Error in the DBML
Well, I figured out part of it after reading a bunch of stuff about how things get converted by sqlserver. My problem was that anytime I did an AS, I wasn't specifying the exact type. For instance, '' AS Column1 was being converted to varchar(1) and char (depending on which part of the dbml.cs declaration you're looking at) rather than going to the table that was specified in the sproc and looking up the fact that Column1 is varchar(7). To fix it: convert(varchar(7), '') AS
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
snelldl
on 10/26/2008
Re: Error in the DBML
I hadn't worked with it for about 4 months, waiting for silverlight to rtm. Of course my page had to be changed to keep up the rest of the application and I had some modified sprocs. Took me 5 hours to remember what had happened the last time. It's wierd that it only did it on the insert sprocs and then only some of those. Any of our good buddies at MS want to chime in and tell us that there is a quick fix for this?
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
snelldl
on 10/26/2008
Page 1 of 5 (48 items) 1
2
3
4
5
Next >
ASP.NET:
Using WCF RIA Services without Silverlight in Visual Studio 2010 for building 3 tier ASP.NET Applications
Channel 9:
Ping 41: Top stories of 2009, bing, windows 7, laptop hunters, azure
Channel 10:
Windows Marketplace for Mobile Opens to 6.0, 6.1 Phones
Channel 9:
Rx API in depth: Hot and Cold observables
ASP.NET:
Back in Business
TechNet Edge:
Hacking Windows 7 Interview
WindowsClient:
Windows Client Developer Roundup for 12/14/2009
Channel 9:
TWC9: Silverlight Web cam apps, VS extensibility, Explorer shell extensions
ASP.NET:
Visual Studio Project Sample Loading Error: Assembly could not be loaded and will be ignored. Could not load file or assembly or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
WindowsClient:
Working with Windows 7 Taskbar Thumbnail Buttons with WPF 4
WindowsClient:
overflow:hidden -- a fix to a CSS problem
TechNet Edge:
Empowering your teams with SharePoint
TechNet Edge:
TechNet Radio: Expert presents: Creating and Executing a Comprehensive 2007 Office Deployment
ASP.NET:
ViewModel Pattern for Silverlight - Options for Hooking a View to its Model
Channel 9:
Rx API in depth: Concat, Catch and OnErrorResumeNext
Channel 10:
PowerPoint Twitter Tools Updated
Channel 10:
Windows Live Messenger Arrives on Nokia Phones
Channel 9:
Peer to Peer Series Part 7: PeerChannel Basics
TechNet Edge:
Visio: Drawing on Experience with Saveen Reddy
TechNet Edge:
Visio: Drawing on Experience with Saveen Reddy
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online