Best way to add crystal reports

Hi All,
I have worked with crystal reprots in past and have done this by adding a DataSet and having this populated with the SQL statement from the database.
I want to have a way where i can add reports to a folder and have the report pulled in to the vb.net application dynamically, so can leave the application as is and not have to keep re-compiling the code and have it done through updates.
what is the best way to do this a system i used to work with used to be able to add 3 files in to a folder . Par . SQL .Rpt
this used to pull the report from the folder and add to the specified menu or submenu.
i have figured out i can either do it through a database table or xml file for adding but need to work out how to get the paramater name and type and add to the form dynamically.
any help will be appriciated.
Regards
AIDAN

Depending on the version of CR you are working with, your best way will be to use InProc RAS. See samples here:
https://wiki.sdn.sap.com/wiki/display/BOBJ/NETRASSDK+Samples
Also, consult the developer help for your version of Crystal Reports.
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

Similar Messages

  • What is the best way to call a report from within a report

    What is the best way to call a report from within a report(master / Detail concept)
    A type of drill down report
    Oracle Database 10g
    Forms 10.1.2.0.2
    Report Builder 10.1.2.0.2

    Hi
    Have a look in this link, certainly you will get fix, if not just post a comment on blog, will get reply soon
    http://windows7bugs.wordpress.com/?s=oracle+10g+bug

  • What is the best way to add text to an image

    I used the draw ap div to add text to an image.  will that cause any problems?  If so, what is the best way to add text to an image?  Thanks!

    APDivs will kill your design unless you fully understand the css behind the scenes and plan accordingly. They really are completely unnecessary in the vast majority of situations.
    An easy way to add "web text over an image" would be to use the background-image attribute in css for a standard <div> tag, then just add the text within that same <div>.
    Something like this in the css (if you are using a 300x300 pixel image)...
    #yourdiv {
         background-image:url(yourpic.jpg);
         width:300px;
         height:300px;
    And then this in the html...
    <div id="yourdiv">Your text here</div>
    You would then position the <div> using css margins, floats and padding. Using position:absolute (APDivs) is typically something that will blow your design to pieces if the viewer changes their browser settings.

  • What is the best way to add hard disk space to macbook pro?

    I'm running out of disk space on my macbook pro. What is the best way to add disk space?

    another way of doing it is to replace your hard drive with a larger one.
    if you're technically capable, it takes 10 minutes for the swap and an hour minimum to clone your hard drive or do a data transfer.  all depends on how much data there is to trandfer or to clone.
    good luck.

  • What is the best way to add libraries to a project?

    What is the best way to add technologies to ADF? For example log4j. Or does the embedded logger have log4j features?

    HI,
    Hope helpful
    http://technology.amis.nl/blog/8380/manage-jdeveloper-external-libraries

  • What is the Best Way to add a shopping cart?

    What is the best way to add a shopping cart?
    Thanks.

    See that field at the top right that says "Search Forums"? Try Dreamweaver shopping cart. You'll get a lot of answers.

  • Best way to add a new section in the middle of a tune?

    hi,
    what's best way to add a new section in the middle of a tune? I think I came up with an interesting transition to a tune... what's the best way to try it out?
    please be specific. if it's just select all and cut and move - I already know that one. somehow, I bet there's a better way.
    thanks in advance...

    You should be able to enter the "in" and out" points in the transport bar. And then under the Region menu, choose "Cut/Insert time."
    So if, for instance, you go up to bar 32, and want to add 8 bars, enter 32 1 1 1 in the top transport place, and 40 1 1 1 in the second. Then select "Cut/Insert Time", and an 8 bar whole will be added to your song.
    Be aware that if there are overlapping MIDI notes found at that cut point, Logic will warn you about it, and give you some options. In this case, I think "Keep" would be what you'd want, but every situation is different...
    Hope that helps....

  • Best way to add new post link

    What would be the best way to add a "new post" link on the main homepage that links to the appropriate blog page. Ideally, I'd like to put a small photo too.
    Is the only way to manually add it every time I update, or is there a better way?
    Thanks, Jill

    You can do it any number of ways. Link a shape, link text, or link a photo to the appropriate blog page, using the Inspector from the tool bar at the bottom of the iWeb window.
    You are correct that the only way is to manually update each time. I don't know of any method to get the blog entries to auto update an indicator on the Home page in iWeb.
    I have a site for a current project I'm on that has a "Shot of the Day" link on the Home page. As the site has gotten large, I have a duplicate of the Domain file for this site that contains nothing but this Home page. I update the page and then simply swap out the files on the server with the updated ones. Makes opening, editing, and saving the changes faster and easier than publishing the entire site each time. Here's an example of how I placed the link on the Home page...
    Mark

  • In CMC Manage- Add-     Crystal reports option is missing

    Hi: I want to import a .rpt via CMC. I understand that I am supposed to navigate  to a folder and Manage -> Add -> Crystal Report
      In my case the only options are ProgramFile and LocalDocument.
      Does someone know why? Is it because, CrystalReports designer is not installed?
                                     ...thanks, Stan

    If you select "Local Document" and then select the .rpt file you want to publish, it will know that this is a Crystal Report and give you a couple of options for that.  It will then be added to the system correctly.
    -Dell

  • Best way for add thousans items to listbox without freezing ui in wpf

    Hello guys.
    What is the best way for add thousands items (or even more) to Listbox without freezing UI.
    I search many post in the web but I don't understand how this posts writer wrote that code.
    I realized that ObservableCollection can contain 1000 items or even more and show that items to listbox just for few second without freezing UI but I don't Know how can I use that!
    Can you guys give me an example.
    thanks.

    If you bind an observablecollection you can add items to that from a background thread.  Then bind that to the itemssource.  I usually new up an observablecollection, add the items then set the bound property to  that.
    But I avoid thousands of items. 
    You should provide some sort of filter mechanism the user chooses a category or whatever and then fill with a maximum of 300 items.
    Users simply can't work with thousands of items.
    It is usually reading the data out  a database which takes the time rather than creating objects to bind.
    Hence this:
    protected async override void GetData()
    ThrobberVisible = Visibility.Visible;
    ObservableCollection<CustomerVM> _customers = new ObservableCollection<CustomerVM>();
    var customers = await (from c in db.Customers
    orderby c.CustomerName
    select c).ToListAsync();
    foreach (Customer cust in customers)
    _customers.Add(new CustomerVM { IsNew = false, TheEntity = cust });
    Customers = _customers;
    RaisePropertyChanged("Customers");
    ThrobberVisible = Visibility.Collapsed;
    That's making an asynchronous entity framework call.
    A list of customers is obtained.
    These are then wrapped in a customer viewmodel each.
    Finally the observablecollection Customers is set to this new collection and propertychanged raised to notify the view.
    The itemssource of a datagrid is bound to Customers.
    Hope that helps.
    Recent Technet articles: Property List Editing;
    Dynamic XAML

  • Best way of creating a report where end user can maintain names in groups

    I'm working on a project as a independent consultant for a company and I'm using Crystal Professional Reports version XI.
      I have a main report and a subreport that contains summary totals.  I'm going to link the two reports by a date parameter range.  For the subreport, the report is going to be grouped by four groups.  Each of the groups contain a list of names.  What would the best approach to give the end user who will be running the report on a daily basis to add or remove names for each of the groups when end user is prompted to run the report?
       I want to make it easy as possible for the end user to maintain this list in the sub report because of the following reasons: after the report is deployed,I will not be there on site to maintain it instead I will be available over the phone for support and the end user is the manager of the department and is not a Crystal reports developer or programmer. 
       I hope that made sense.  If not I can give more details.  Have a good day.
    Thanks for your help,
    Ting

    Well let me start by saying that maintaining hard coded lists in a report definition is a bad idea and should be avoided if at all possible.
    This of course means that it isn't always possible... In fact I have a few of my own reports that suffer from the same situation. Here is the way I handle it to make the list maintenance as easy and error free as possible.
    #1) I created a new Report Custom Function. Let's call it  NamesToGroups. The function will look like this... (Crystal Syntax)
    Function (stringVar PersonName)
    SELECT PersonName
    CASE
    "Gustavo Achong",
    "Catherine Abel",
    "Kim Abercrombie",
    "Humberto Acevedo",
    "Pilar Ackerman",
    "Frances Adams",
    "Margaret Smith",
    "Carla Adams" :
        "Name of Group 1"
    CASE
    "Jay Adams",
    "Ronald Adina",
    "Samuel Agcaoili",
    "James Aguilar",
    "Robert Ahlering",
    "François Ferrier",
    "Kim Akers",
    "Lili Alameda",
    "Amy Alberts" :
        "Name of Group 2"
    CASE
    "Alberto Baltazar",
    "Wayne Banack",
    "Darrell Banks",
    "Norma Barrera",
    "Gytis Barzdukas",
    "David Bartness",
    "Karel Bates" :
        "Name of Group 3"
    CASE"Donald Blanton",
    "Linda Burnett",
    "Michael Blythe",
    "Gabriel Bockenkamp",
    "Michael Bohling",
    "Eli Bowen",
    "Lester Bowman",
    "David Bradley" :
        "Name of Group 4"
    Default : "Unknown Name"
    Note that the list setup makes it easy to see who's in what group and makes it easy to add new people to the correct group...
    #2) Now you can simple use the function in a formula. Lets call it NameGroups and the formula would look like this...
    NamesToGroups({TableName.FullPersonName})
    #3) Now NameGroups is available for grouping or selection purposes or just to add as a formula on the design surface.
    #4) If you are using CRS or BOE the function can be saved to the repository for use in other reports as well
    Now any time a new name needs to be added, the user can access the "Report Custom Functions" are of the Formula Workshop and add the name to the function, which in turn, will be propagated through the rest of the report. It's also easy to see how the function is actually working so that new groups can also be easily added.
    HTH,
    Jason

  • Crazy I know, but what is the best way to PREVENT a report portlet from running ?

    I know this sounds a very weird question.
    On a page I have a html form (that I use as search criteria for my report) as well as an actual report published as a portlet.
    On certain situations, such as when going to the page initially, I require that the report not be executed due to bind variables passed by the form not being initialised.
    I know I can set default values for parameters, and use decode statements in my query etc etc, but this means the report is still actually run, but no rows are returned!
    I dont want the report to even run!
    Is there a faster way of stopping a report from executing.
    ... before displaying the page - pl/sql
    Would the best way to achieve this be the throwing of an unhandled exception?
    declare
    myException exception;
    begin
    if certain criteria is not met then
    raise myException;
    end;
    regards,
    Matt.

    I have about 50GB of photos on my old MBP iphoto library.
    To be able to merge your libraries, your Aperture version and iPhoto version must match. For basic reading see: Aperture 3.3: Using a unified photo library with iPhoto and Aperture
    and Aperture 3.3: How to use Aperture to merge iPhoto libraries
    Assuming you are running the latest Aperture and iPhoto versions:
    Before merging libraries ensure that your iPhoto Library has no issues. While still on your old mac run the "library first aid tools" on your iPhoto Library. Hold down the key combination ⌥⌘ and double click your iPhoto Library, then select "Repair database".
    Make sure you have a backup of your current Aperture Library and iPhoto library.
    Do both macs have a FireWire port? Then you could connect your macs in Target Disk Mode:
    See OS X Lion: Transfer files between two computers using target disk mode
    This way your new mac could see your old mac as an external disk and you could copy directly between the macs.
    Otherwise copy your iPhoto library by drag-and-drop to an external disk (on your old mac) and connect that disk to your new mac. Check, if the external drive is formatted for mac (MacOS X Extended (Journaled)). Otherwise reformat it, before you copy the iPhoto library to that drive.
    When your iPhoto Library has been moved to your new Mac launch Aperture and use the command "File > Import > Library" from the main menu bar. If there are duplicates in the Aperture library (if you imported earlier from iPhoto) you may be prompted if you want to "Add" or "Merge". If you have lots of duplicates, pick "Merge", otherwise "Add".
    Post back, if you need more detailed instructions.
    Good Luck.
    Léonie

  • Is there a way to convert Crystal Reports to Microsoft SQL Server 2005 reporting services?

    Post Author: Lourdes Hernandez
    CA Forum: General
    Our department has always worked with and we love Crystal Reports. Unfortunately, certain reports now need to be converted to Microsoft SQL Server 2005 reporting services which from what I read I think they are *.rdl reports. Does Crystal reports have any way around this? I would have to learn this other tool when I'm already so happy with Crystal. I was thinking If I could just code the report in crystal and export it in a specific format that would be compatible Microsoft, the problem would be solved.
    Any ideas would be greatly appreciated.

    Post Author: bettername
    CA Forum: General
    Ditto!
    There are some software packages to convert from CR to RS, but none work 100% AFAIK, and will require manual tuning.
    Seems like a big hassle and learning curve just to get reports published via another method - I know I'd put up huge resistance if they tried to take my CR away from me!

  • What is the best way to add external C++ code to LabView 6.1?

    I have various C++ class-based DLL's written with Visual Studio 6.0 and wish
    to create instances of these C++ classes and call their methods in LabView
    6.1. What is the best way to do this?
    It seems based on the little reading I have done that there are two choices:
    1. Wrap the C++ class as a simple COM control and use LabView's COM based
    VIs to create a COM object and access the methods of various interfaces.
    2. Wrap the C++ class methods as C functions and a "constructor" and
    "destructor" C function to create and destroy an instance of the class. Then
    use LabView's DLL call support.
    Which is best? What direction is LabView going to take that better supports
    the notion of C++ class libraries?
    Thanks,
    Te
    rry

    You could also try using a CIN. This is a tool that LabVIEW provides for interfacing with external code.
    The CINTools libraries of LabVIEW allow you to embed compiled C code into a particular Virtual Instrument (VI) using a CIN.
    In order for LabVIEW to be capable of calling compiled functions of C from a running VI, the code must be loaded and unloaded into memory at the same time as the VI code itself. LabVIEW uses object code in the form of a .lsb file which is generated by the C compiler from the C source code using the ntlvsbm.mak file. This ntlvsbm.mak file is included in the CINtools directory in the LabVIEW folder. You also must create another .mak file which includes parameter definitions for the ntlvsbm.mak file and also includes a call to the LabVIEW .mak file.
    The generic documentation for CINs only explains how to use them to call C compiled code from a LabVIEW VI. It shows several development environments such as Visual C++, but in essence it only allows the user to create .lsb files out of plain C source code ( .c ) through C compilers on those environments.
    The question now is how can I create .lsb files from C++ native source code using a C++ compiler. Furthermore, how can I create a .lsb file from several C++ source code files (.cpp) and make calls to C++ functions from a VI using CINs? The following explains how to do this:
    1) Drop a Code Interface Node (from the Advanced Subpalette of the Functions Palette) into the LabVIEW VI. Make sure to wire the inputs.
    2) Right-click on the CIN and choose "Create.c File...", then in the file dialog box specify a "name.cpp" file name. (very important: use .cpp extension)
    3) Then create a name.mak makefile (text file) and add the following lines :
    name=name_of_cpp_file_without_the_extension
    type=CIN
    cinlibraries=Kernel32.lib
    CINTOOLSDIR=path_to_cintools_directory
    !include <$(CINTOOLSDIR)\ntlvsb.mak>
    4) Go into Visual C++ and File>Open and open the .mak file. You can even Add the name.cpp file to the project to make it easier to edit. Select that name.cpp or open it as a text file in NotePad or and edit the prototypes of the CIN MgErr functions as shown below, adding extern "C" at the beginning of the line. extern "C" CIN MgErr CINRun(float64 *INPUT);3) Select Build.exe to create the "name.lsb" file. To import the .lsb into LabVIEW, right-click on the CIN and choose "Load Code Resource...". Then, choose the name.lsb file and it is ready to run!
    If you want to use several C++ source code files with .cpp extensions, then compile them in Visual C++ and link them to name.cpp and create a .lsb by modifying the name.mak as follows:
    name=name_of_cpp_file_without_the_extension
    otherobj=other_cpp_files_BUT_USING_.obj_extension
    type=CIN
    cinlibraries=Kernel32.lib
    CINTOOLSDIR=path_to_cintools_directory
    !include <$(CINTOOLSDIR)\ntlvsbm.mak>
    It's worth a try? I have also heard of using clusters to represent classes, so you could check that out.
    J.R. Allen

  • What is the best way to produce different report types out of the same SSRS Report

    So I have a request to produce different report types based on a "Line Of Business" Parameter that is provided. I know that SSRS sometimes struggles with gathering the Metadata based on IF Statements.
    What is the best way to provide multiple different report types with different data based on the "Line Of Business" Parameter that is provided? Can I simply do this via the SQL Stored Procedure? And how so that the Metadata is collected correctly?
    Just don't know what the generally accepted business principle is on this and how to go about doing it.
    Thanks in advance for your review and am hopeful for a reply.

    Hi ITBobbyP,
    Per my understanding that you have create an parameter (Line Of Businiess) to get diffetent types of report, I would like to confirm with you want do you mean about the different report types?
    Is that mean you have table and one column named Report type, you want to filtered on this column? Or the report type you mean is like Parameterized reports,Linked reports,Snapshot reports,Subreports and so on.
    If want you want is through the selection of the parameter to change the report type(Parameterized reports,Linked reports,Snapshot reports,Subreports ..),currently it is impossible to acheive this.
    If you still have any problem, please try to provide more details information about your reqirements, the sampe data in the table, the report structure you have designed and so on.
    Any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

Maybe you are looking for

  • You are losing me as a user-no way toi contact you. Latest install bummer

    Been using Firefox for three years or more. Upgrades are automatically done. Latest upgrade to 23.0.1 seems to have knocked out my preferences and none of the search windows works. I had nice permaent tabs to click for easy web access, now gone. Expl

  • Firmware update v21

    Ok so 2 days ago i did the update via NSU.   Update went fine and all contacts, etc were fine. however i checked my applications and 2 have problems. the icons for them are still there however when i click on them they do not open. i have looked in i

  • HT5731 Is Download later available in the UK?

    Is this available in the UK? I cannot get it to work/it doesn't ask me on my iPad, iPhone or Mac. It should as I have iTunes in the cloud. On my Mac it wants to download straight away, on my iPhone it says it is over 50MB (obviously it is, but if it

  • HT1338 I have a Mac OS X 10.5.8 PowerPC G5

    I tried upgrading Firefox and now it doesn't work sssays it's not supported.  What system can I upgrade my computer to to make it more compatiable?  Snow Leopard or Lion? I don't even know if I have Leopard how can I tell?

  • JCO on Windows XP OS

    HI all gurus,    I m little  new to  JCO in SAP. Actually i have installed JCO on my windows 2003 server OS and it is  working fine. now i want to install JCO on my other system which has windows XP OS. for server 2003 i used jCO 2.1.8 and for  XP i