Search

You searched for the word(s): userid:675305

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
  • 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
  • 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
  • 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?
Page 1 of 5 (48 items) 1 2 3 4 5 Next >
Microsoft Communities