MS SQL Server 6.5 / Visual Basic 5.0 / Crystal Reports 6

I have an application written in VB5 using RDO and C++ calls
accessing MS SQL Server 6.5 thru ODBC. The reporting environment
is based on Crystal reports and Excel.
Can anybody advise me if they have used the Migration Workbench
to port the database / application and what if any issues they
faced particularly in the area of the RDO. Any tips etc. would
be much appreciated as I have a time constraint to meet.
Many Thanks
Mahant
null

I have the following OPENINFO string *GROUPS section of the ubbconfig file:
OPENINFO = "msqlsrvxa1:Tm=TUXEDO, RmRecoveryGuid=7EC1A7F3-C304-11d3-B6DE-
0000E86B6EEF"
"Robert Patrick" <[email protected]> wrote in message
news:[email protected]..
Are you sure your OPENINFO string for the server group is correct in the*GROUPS
section of the ubbconfig file?
Abbas Tahir wrote:
Hi,
I'm developing an application using WLE4.2 (C++) under OS Windows NT4.
The application is a C++ client accessing a C++ server, which in turn
accesses a MS SQL 6.5 via XA Switch.
But when I try to run the following command
tmboot -yI get the following error messages:
225611.A413B!TMS_MSSQL.254: LIBTUX_CAT:466: ERROR: tpopen TPERMERR
xa_open
returned XAER_RMERR
225611.A413B!TMS_MSSQL.254: LIBTUX_CAT:1353: ERROR: tpopen failed -
TPERMERR - resource manager error
225611.A413B!TMS_MSSQL.254: LIBTUX_CAT:250: ERROR: tpsvrinit() failed
225611.A413B!TMSYSEVT.252: LIBTUX_CAT:1478: ERROR: .SysServerInit:
TMS_MSSQL, group APP_GRP, id 30001 server initialization failure
225611.A413B!tmboot.138: 011900: TUXEDO Version 6.5forWLE4.2 32-bitWindows.
225611.A413B!tmboot.138: CMDTUX_CAT:825: ERROR: Process TMS_MSSQL atSITE1
failed with /T tperrno (TPERMERR - resource manager error)
I've already added the following line to the RM file in the directory
WLE\udataobj:
MSSQL_XA;msqlsrvxa1;XASWITCH.obj
Please help me work around this problem.
Thanks,
Abbas Tahir

Similar Messages

  • SQL SERVER 2012 and Visual Basic 2010

    Can an SQL Server 2012 database function when used with a Visual Basic 2010 Program?
    Milt
    sirmilt

    Can an SQL Server 2012 database function when used with a Visual Basic 2010 Program?
    Milt
    sirmilt
    Yes
    Basically you can use any T-SQL query that you want, directly or through a Stored Procedure.
      Ronen Ariely
     [Personal Site]    [Blog]    [Facebook]

  • SQL Server Express and Visual Studio 2013

    In February I installed Visual Studio 2013 Professional. Looking in the Control Panel at all my installed programs, I see that I have a bunch of SQL server-related programs loaded, from the 2013 install and also from installs of previous Visual Studio versions.
    I've never done a thing with SQL server express, and am completely clueless about using it. I've already wanted to take a crack at it but it always seemed too daunting, so I backed off. It seems, however, that over the years the integration of SQL Server Express
    with Visual Studio is getting more and more seamless. Here is a list of all the SQL Server-related programs on my computer, with the ones installed automatically from the Visual Studio 2013 install bolded so they'll stand out. What I'm wondering is if I have
    everything I need to use SQL Server Express with Visual Studio 2013:
    Microsoft SQL Server 2005                                                  
    Microsoft Corporation   11/4/2013
    Microsoft SQL Server 2005 Mobile [ENU] De...                     
    Microsoft Corporation   4/29/2007
    Microsoft SQL Server 2008 R2 Data-Tier App...                    
    Microsoft Corporation   1217/2011
    Microsoft SQL Server 2008 R2 Data-Tier App...                    
    Microsoft Corporation   1217/2011
    Microsoft SQL Se1Ver 2008 R2 Management ...                   
    Microsoft Corporation   1217/2011
    Microsoft SQL Server 2008 R2 Transact-SQL ...                    
    Microsoft Corporation   12/7/2011
    Microsoft SQL Server 2012 Command Line ...                 
    Microsoft Corporation  2/10/2014
    Microsoft SQL Server 2012 Data-Tier App Fr...              
    Microsoft Corporation  2/10/2014
    Microsoft SQL Server 2012 Express LocalDB                 
    Microsoft Corporation  2/10/2014
    Microsoft SQL Server 2012 Management Ob...               
    Microsoft Corporation  2/10/2014
    Microsoft SQL Server 2012 Native Client                        
    Microsoft Corporation  2/10/2014
    Microsoft SQL Server 2012 Transact-SQL Co...                    
    Microsoft Corporation   9/21/2012
    Microsoft SQL Server 2012 Transact-SQL Ser...            
    Microsoft  Corporation 2/10/2014
    Microsoft SQL Server 2012 T-SQL Language ...             
    Microsoft Corporation  2/10/2014
    Microsoft SQL Server Compact 3.5 Design T...                     
    Microsoft Corporation   2/14/2008
    Microsoft SQL Server Compact 3.5 SP2 ENU                       
    Microsoft Corporation   5/25/2010
    Microsoft SQL Server Compact 4.0SP1 ENU                        
    Microsoft Corporation   9/21/2012
     Microsoft SQL Se1Ver Data Tools - enu (11.1....                 
    Microsoft Corporation   5/19/2013
     Microsoft SQL Server Data Tools - enu (12.0....            
    Microsoft Corporation  2/10/2014
     Microsoft 
    SQL Server Data  Tools Build   Utiliti ...              
    Microsoft Corporation   5/19/2013
     Microsoft 
    SQL Server Data  Tools Build   Utiliti ...         
    Microsoft  Corporation 2/10/2014
     Microsoft SQL Server Database Publishing ...                     
    Microsoft Corporation   2/14/2008
    Microsoft SQL Server Database Publishing ...                      
    Microsoft Corporation   5/25/2010
    Microsoft SQL Server Native Client                                      
    Microsoft Corporation   4/1/2011
    Microsoft SQL Server Setup Support Files (E...                    
    Microsoft Corporation   4/1/2011
    Microsoft SQL Se1Ver System CLR Types                             
    Microsoft Corporation   1217/2011
    Microsoft SQL Server VSS Writer                                         
    Microsoft Corporation   4/1/2011

    Hello,
    Please read the following resources:
    http://msdn.microsoft.com/en-us/library/ms233763.aspx
    http://stackoverflow.com/questions/20333518/how-to-create-a-database-in-ms-visual-studio-2013
    http://msdn.microsoft.com/en-us/vstudio/bb643825.aspx
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • How to set the password encrytacion a database. Accdb from Visual Basic 2010 for a report. Rpl

    I want to know how to set the password encrytacion a database. Accdb from Visual Basic 2010 for a report. Rpl

    You have to connect via ODBC, then use code along the lines of what is described here:
    http://scn.sap.com/thread/3526924
    by me on March 28 and Jan on March 29.
    Also see KBA: 1686419 - SAP Crystal Reports designer does not recognize Access *.accdb file
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Adding SQL Server Express to Visual Studio 2013 Pro on Windows 10 Preview

    I have installed VS 2013 Pro on Windows 10. I need to delevop unsing SQL Server Express. Do I download the full SQL Server 2012 Express Advanced (with full text search), or do I need only part of it? I was going to download the SQLEXPRADV_X64_ENU.exe. 
    Is this a good way to go?
    Do I also need to download any other .net frameworks?
    kciNDev

    Hello,
    Please read the following resources:
    http://msdn.microsoft.com/en-us/library/ms233763.aspx
    http://stackoverflow.com/questions/20333518/how-to-create-a-database-in-ms-visual-studio-2013
    http://msdn.microsoft.com/en-us/vstudio/bb643825.aspx
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • SQL Server 2012 with Visual Studio 2013 with SSIS/Integration services project?

    I wanted to build an integration services project to import data from multiple sources using a vendor's API.
    I wish I could recall how I got to the point where I was able to build one and have it run successfully, but I had to install so many things that I honestly don't remember.
    However, I noticed my PC booting really slowly after that, and I saw that I had components of VS 2010, VS 2012 and VS 2013 installed, along with SQL Server 2008 and 2012.  So I uninstalled a bunch of stuff, hoping to get to where I had only the most
    current versions of all, that were compatible with my corporate environment.  So I was aiming for Visual Studio 2013 (Premium, I think) and SQL Server 2012.
    Took me 2 days.  Now I'm at the point where I think - and I'm here to learn if I'm correct - that I cannot get an oData Source component into my project and use VS 2013 IF I want to stick with Sql Server 2012.  Is that correct?  
    I get very confused when trying to determine how the acronyms relate:  SSIS, SSDT, SSDT-BI, etc.

    Hi Anonymous11847,
    SSDT: Microsoft SQL Server Data Tools for Visual Studio 2010, it contains Business Intelligence project templates for Analysis Services, Integration Services, and Reporting Services that support Visual Studio 2010. This can be installed when SQL Server is
    installed. It supports various SQL Server versions as follows:
    SSAS projects can target SQL Server 2012 or lower
    SSRS projects can target SQL Server 2012 or lower
    SSIS projects can target only SQL Server 2012
    SSDT-BI for VS 2012: Microsoft SQL Server Data Tools - Business Intelligence for Visual Studio 2012, it contains Business Intelligence project templates for Analysis Services, Integration Services, and Reporting Services that support Visual Studio 2012.
    This needs to be separately downloaded and installed. It supports various SQL Server versions as follows:
    SSAS projects can target SQL Server 2012 or lower
    SSRS projects can target SQL Server 2012 or lower
    SSIS projects can target only SQL Server 2012
    SSDT-BI for VS 2013: Microsoft SQL Server Data Tools - Business Intelligence for Visual Studio 2013, it contains Business Intelligence project templates for Analysis Services, Integration Services, and Reporting Services that support Visual Studio 2013.
    This needs to be separately downloaded and installed. It supports various SQL Server versions as follows:
    SSAS projects can target SQL Server 2014 or lower
    SSRS projects can target SQL Server 2014 or lower
    SSIS projects can target only SQL Server 2014
    So if the SQL Server version is SQL Server 2012, we should install SSDT or SSDT-BI for VS2012 to create SSIS project.
    Reference:
    Microsoft SQL Server Data Tools Update
    If there are any other questions, please feel free to ask.
    Thanks,
    Kathrine Xiong
    Katherine Xiong
    TechNet Community Support

  • Sql Server Express Error Visual Studio Isolated Shell Environment

    Hi everybody, 
    We are working with MSSQL 2014 Express edition in a Windows 8 machine, this version was working ok, but one day stopped working.
    When we tried to run mssql manager tool we have the next error:
    Microsoft visual Studio Isolated Shell Environment:
    Unknown error 
    Thanks

    Hi element111,
    According to your description, unfortunately there are little information for troubleshooting. So could you please help to post SQL Server error logs ? By default, the error logs can be found in : C:\Program Files\Microsoft SQL Server\MSSQL12.MSSQLSERVER\MSSQL\Log.
    In addition, we need to verify if you can successfully log in SQL Server via local SQL Server Management Studio (SSMS). If not, please post the full error message for analysis.
    Thanks,
    Lydia Zhang

  • Visual Studio 2005 deploy Crystal Report to Windows Server 2008 64-bit

    I've read a lot of posts here regarding deploying on a 64-bit server, but I'm still confused.
    We use Visual Studio 2005 to develop on a Windows XP machine.  We use the built-in version of Crystal that comes with VS2005. 
    We want to deploy the runtime to a Windows Server 2008 running 64-bit.  We want to deploy using the msi runtime components and not the merge modules.
    We end up with the message "An error has occurred while attempting to load Crystal Reports". 
    So, the question is, can we build & deploy a 64-bit version, and if so, what are we doing wrong here ?  At first glance, I don't see VS 2005 as listing Windows 2008 as a supported platform, so am I dead in the water right there ?  If that's the case .... then what are my options ?
    Any help or pointing me in the right direction would be greatly appreciated !
    Thank You,
    Wayne

    In a nut shell, the only two 64 bit versions of Crystal Reports are 10.2 (bundles with .NET 2005) and 10.5 (bundles with .NET 2008). All other versions of Crystal Reports are 32 bit only. For more info see [this|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10d5fa88-2013-2c10-c9a5-f11963607d4e] article.
    Ludek

  • [Forum FAQ] Troubleshooting error "The specified SQL server instance is not valid" when installing SCOM reporting service

    Symptom
    If you have failed to install SCOM reporting service, you may encounter below error when you reinstall it:
    “The specified SQL server instance is not valid”.
    (Figure 1)
    Figure 1.
    Reason
    This issue may be caused by multiple reasons, for example the reasons in Figure 1.
    However, you may find that SSRS and Report Server website are configured correctly and no SSL or proxy Server is used. In these scenario, you can open the log file under path
    to find the root reason:
    C:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\LogFiles
    Later, you will find the error as below:
    ERROR: Throwing Microsoft.ReportingServices.Library.ReportServerDisabledException: , Microsoft.ReportingServices.Library.ReportServerDisabledException:
    The report server cannot decrypt the symmetric key that is used to access sensitive or encrypted data in a report server database. You must either restore a backup key or delete all encrypted content. ---> System.Runtime.InteropServices.COMException
    (0x80090016): Keyset does not exist (Exception from HRESULT: 0x80090016)
    at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
    at RSManagedCrypto.RSCrypto.ReencryptSymmetricKey(Byte[] symKeyBlob, Byte[] pPublicKeyBlob)
    at Microsoft.ReportingServices.Library.ConnectionManager.<GetEncryptionKey>b__2()
    --- End of inner exception stack trace ---;
    Solution
    According to the error message, you can delete encrypted content by following the steps below:
    Open SQL Reporting Services Configuration Manager.
    Select “Encryption Keys”.
    Click “Delete” to delete all encrypted content. (Figure 2)
    Figure 2.
    After that, we can install SCOM reporting service again, after successfully install reporting service, we should see the SCOM operation console as below:
    Figure 3.
    In addition, you may also encounter other errors when installing SCOM reporting service, and the troubleshooting steps may be different. However, we can also check SQL reporting
    service logs to find the root reason.
    Here are some articles that would be helpful for SCOM reporting service installation and troubleshooting:
    How to Install the Operations Manager Reporting Server
    http://technet.microsoft.com/en-us/library/hh298611.aspx
    Unable to install SCOM 2012 Reporting Services
    http://blogs.technet.com/b/mdegre/archive/2013/05/27/unable-to-install-scom-2012-reporting-services.aspx
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Hello,
    I'm afraid you must use a dedicated instance of SQL Server for each site(SCOM/SCCM). Some similar issues were disscussed on this forum:
    SCCM and SCOM - SQL Server 
    http://social.technet.microsoft.com/Forums/en-US/configmanagergeneral/thread/bfa14da9-4692-4c64-a107-e085c967d259
    SCOM, SCCM, SQL on same server?
    http://social.technet.microsoft.com/Forums/en-US/configmgrsetup/thread/b5373aa7-5233-4b1f-9b39-b86e481e04d5
    Thanks,
    Yog Li
    TechNet Community Support

  • Using SQL Server 7.0 SP and claling in a report

    Hello
    I have a SP in SQL Server 7.0 that if I use the folowing code in Query Analyser
    The SP calls to linked oracle server
    sp_name 'inparm' I return the proper value
    I need to know how to run this in Oracle Reports 6i
    tried var := sp_name('inparm') invalid
    var := sp_name 'inparm' copile error
    Any help appreciated.

    When installing Discoverer for ODBC use your first step is to do a custom install so that you can install the ODBC drivers. Then you will need to setup an ODBC server connection.
    Christopher

  • Sub report parameter prompt appears when running Visual Studio 2008 with Crystal Reports 2008

    Post Author: relliott
    CA Forum: .NET
    If I build a simple Crystal Report that contains another simple Crystal Sub Report, the report will print preview fine in Crystal 2008.  The problem happens when add this report to a Visual Studio 2008 Web Application Project and I build and debug the application, the Crystal Viewer is prompting the user for the parameter used to link the sub report to the main report.  This should never happen as the user is not supposed to see this parameter.  If I type in some value for this sub-report parameter prompt, the Crystal Report Viewer gives an error message about not finding the field.
    I was having the same problem in Vs2005 with Crystal 10 which is why I upgraded.  Business Object's official fix for this problem was published under their KB article number c2018840 and c2019047.  These hot fixes ended up causing general exception errors in Visual Studio so I scrapped these solutions.
    Support had me install SP0 for Crystal 2008 (which did not fix it).
    Any ideas?
    Any help is greatly appreciated.
    Thanks,
    Rich Elliott

    Hi Bontrager,
    Thank you for posting in MSDN forum.
    According to your description, I agree with pvdg42's suggestion, so I suggest you can try pvdg42's suggestion to install the version of
    Crystal Reports 10.5 to check this issue again.
    Reference:
    http://forums.asp.net/t/1236730.aspx?Which+CR+version+is+in+Visual+Studio+2008+
    In addition, since this forum is
    to discuss: Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor. So if you have any issue about the
    Crystal Reports, I suggest you can ask the issue to the
    SAP Crystal Reports website:
    http://scn.sap.com/community/crystal-reports/content?filterID=contentstatus%5bpublished%5d~objecttype~objecttype%255bthread
    as pvdg42 pervious suggestion, it will be better support.
    Thanks for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Visual Studio 2005, embedded Crystal Report problem

    I am very new at .NET, and this is my first post to this forum.
    I've created a Crystal Report within a project using Visual Studio 2005 Professional Edition, on a Windows XP machine.  I set the report as the ReportSource for a CrystalReportViewer on the main form.  I can see data in the report in design view when I right-click on any of the fields and click "Browse Field Data".  But when I preview the report, or run it in the application, all I see are the column headings and report title.  I am hoping I am leaving out something obvious.  I've researched this for two days without success. 
    The report's detail section is NOT suppressed, btw.
    FYI (although I think it might not be relevant, because I don't see the data when I preview it in Visual Studio either) the report is displayed in the application when a button is clicked, as follows:
        Private Sub cmdRunLog_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdRunLog.Click
                CrystalReportViewer1.DisplayToolbar = True
                cmdRunLog.Text = "Hide Run Log"
                cmdUpload.Enabled = False
                cmdReports.Enabled = False
                cmdManualRun.Enabled = False
                CrystalReportViewer1.Visible = True
                CrystalReportViewer1.Height = 600
                CrystalReportViewer1.Width = 1000
                CrystalReportViewer1.Left = 10
                Dim strReportSQL As String = "Select * From dbo.PositivePayRunLog"
                Dim DA As New SqlDataAdapter(strReportSQL, conPP)
                Dim DS As New DataSet
                'Variable to assign the report name
                Dim strReportPath As String
                DA.Fill(DS)
                strReportPath = "c:\Positive Pay\PositivePayRunLog.rpt"
                If Not IO.File.Exists(strReportPath) Then
                    _ErrorText = "Unable to locate report file:  " & strReportPath
                    ' Throw (New Exception("Unable to locate report file:" & vbCrLf & strReportPath))
                    GoTo cmdRunLog_Click_Error
                End If
                Dim rptDocument As New CrystalDecisions.CrystalReports.Engine.ReportDocument
                rptDocument.Load(strReportPath)
                rptDocument.SetDataSource(DS.Tables(0))
                rptDocument.Refresh()
                CrystalReportViewer1.ShowRefreshButton = False
                CrystalReportViewer1.ShowCloseButton = False
                CrystalReportViewer1.ShowGroupTreeButton = False
                CrystalReportViewer1.ReportSource = rptDocument
    end sub
    I'm hoping that this is a common problem with an easy answer
    Thanks,
    John Sandin

    >
    Jason Everly wrote:
    > Did you design the report using OLEDB or ODBC instead of against the schema of the dataset you are passing?  It could be seeing data from the database when browsing.
    >
    > Technically you should design the reports against the schema of the dataset you are going to be passing, not against ODBC or OLEDB.
    >
    > You can usually get away with passing datasets to a report created against OLEDB, but if issues occur then you need to redesign them against the ds schema.
    >
    > Jason
    I have done both, but I was currently using OLEDB.
    I redesigned the report to use a dataset containing the correct data.  Now,  when I browse the fields, I see nothing.  When I preview the report, I see what appears to be dummy data (a list of colors, etc).
    But the GOOD news is:  When I run the report in the application, I see the correct data!
    Thanks!  I think I'm good to go now.  I will also apply the other suggestions, and try to simplify things.

  • Problem creating a SQL command object and adding it to a Crystal report

    Hi,
    I'm trying to add the following SQL command object with the following sql for MYSQL 5.1
    SELECT lic.id, lic.productionname, comp.companyname, lic.paymentreceiveddate, lic.licenseissuedate,
    IFNULL((SELECT sum(licsong.feequoted) from licensesong licsong where licsong.licenseid = lic.id), 0) as totalfeequoted,
    IFNULL((SELECT sum(licsong.feetax) from licensesong licsong where licsong.licenseid = lic.id), 0) as totalfeetax,
    IFNULL((SELECT sum(licsong.feequoted + licsong.feetax) from licensesong licsong where licsong.licenseid = lic.id), 0) as totalfee,
    IFNULL((SELECT sum(pay.fullamount) from payment pay where pay.licenseid = lic.id),0) as totalpaid
    FROM license lic
    INNER JOIN company comp on lic.licensecompanyid= comp.id;
    This sql runs fine in the Query Browser of mysql and returns what I want.
    When I try to add this SQL command to a new Crystal Report, (by right clicking in the sql editor and selecting Crystal Reports - Add to new Crystal Report), it locks up my Eclipses and it ends up not responding. If I just do a simple SELECT * FROM license it works fine.
    The Eclipse I'm using is from the CR4E download page with the crystal plugin already installed.
    Any help with this would be greatful, as I am not having much joy with this CR4E 2.0 with MySQL and may have to scrap it and go back creating reports in Apache POI.
    Any help greatly received.
    Kind regards

    Hi,
    Try to select a particular columns instead of doing SELECT * FROM license.
    Thanks,
    Saravanakumar

  • Error "Server busy" at the time of launching Crystal Report 2008

    Hi
    I have installed Crystal Report 2008 from CD .While launching the Crystal Report I am facing the error as "Server Busy".Below are the thing which I have tried:
    1)Unchecked the option "Checked for updates" in help menu
    2)Uninstalled the application manually and again I have installed.
    3)I have tried installing on another machine however I am facing the same error message.
    My Computer's RAM size is  1.97 GB.
    Any help would be appreciated.
    Regards
    Ashu.
    Edited by: Ashu User on Aug 13, 2008 11:14 AM

    Hi Ashu
    Please make sure the below information:
    1. If you are getting this eror message while opening Crystal Reports 2008 or Xcelsius 2008.
    2. If you are getting this error message for Crystal 2008, have you installed the Crystal Reports on a Citrix Server or a Terminal Server.
    3. Search if the Citrix/Terminal Server that you are using is supported or not.(You can check in the CR 2008 Supported Platforms PDF).
    Hope this helps!!!
    Regards
    Sourashree
    Edited by: Sourashree Ghosh on Aug 13, 2008 1:45 PM

  • Visual Studio 2008 using Crystal Reports 2008

    I'm trying to pass parameters to a Crystal Reports 2008 rpt file but keep getting a runtime message saying "Missing Parameter Values".
    Has anyone experienced this problem?
    Does anyone have a snippet of code where values are being passed from C#.Net to a crystal 2008 report.
    Thanks in advance....

    Hi Steven,
    You can select version and  download code samples from [here|https://boc.sdn.sap.com/codesamples]
    Here is code for parameters :
            string Reportpath = Server.MapPath("CrystalReport.rpt");
            ParameterFields boParameterFeilds = new ParameterFields();
            ParameterField boParameterFeild = new ParameterField();
            ParameterValues boParametervalues = new ParameterValues() ;
            ParameterDiscreteValue boParameterDiscreteValue = new ParameterDiscreteValue();
            ParameterRangeValue boParameterRangeValue = new ParameterRangeValue();
             CrystalReportViewer CR;
             CR =  new CrystalReportViewer();
             CR.ReportSource = CrystalReportViewer1.ReportSource;
             boParameterFeilds = CrystalReportViewer1.ParameterFieldInfo;
             boParameterFeild = boParameterFeilds["Country"];
             boParametervalues = boParameterFeild.CurrentValues;      
             boParameterDiscreteValue = new ParameterDiscreteValue();
             boParameterDiscreteValue.Value = "Canada";
             boParametervalues.Add(boParameterDiscreteValue);
            boParameterDiscreteValue.Value = "USA";
            boParametervalues.Add(boParameterDiscreteValue);
            boParameterFeild = boParameterFeilds["sales"];
            boParametervalues = boParameterFeild.CurrentValues;
            boParameterRangeValue.EndValue = "10000";      
            boParameterRangeValue.StartValue = "25000";
            boParametervalues.Add(boParameterRangeValue);     
            CrystalReportViewer1.ParameterFieldInfo = boParameterFeilds;        
    Hope this helps !!
    Regards,
    Shweta

Maybe you are looking for

  • How to look for a keyword in SAP MaxDB Library 7.6

    Hi, how to look for a keyword in SAP MaxDB Library 7.6 ( http://maxdb.sap.com/doc/7_6/7e/c3fb0e72fcf84580f7ee9fcec672b7/frameset.htm) Thank you.

  • 24" iMac with Bose Campanion III Speakers....strange noise?

    Dear All.. Not sure if I am posting in the right place, but perhaps someone can help me anyway. I have an iMac which has Bose Companion III speakers plugged in to it. I love them....absolutely amazing sounds. So much so that my neighbour has been dow

  • Custom Object 1 - Batch Deletion

    Hello, I am trying to delete all records using Batch Delete option from a Custom Object. The option is not present in CRMOD even when I am the Admin of CRMOD. I have checked the Access Profile and everything seems alright. Please suggest me some alte

  • CR: Error in File ~tmp2be86bbf9f5e260.rpt: Database Connector Error

    dear all, this has finally got the better of me. i have been successfully scheduling a set of reports each month, until now. they all come back with the following error, each with a different ~tmp.rpt file Error in File ~tmp2be86bbf9f5e260.rpt: Datab

  • Qucktime and iTunes Can't Play 5.1 Surround Sound

    So I undarstand qicktime is used to adjust iTunes audio and in the control panel of the qicktime there is an option for 5.1 sound. However when I click this option (5.1 sound) I still get stereo sound out of my two front speakers while other speakers