DB/Reporting :: Crystal Reports Using A Stored Procedure

Mar 19, 2009

We connecting a stored procedure in a crystal report.

In the query analyzer we can call the SP with: execute test 'example'

If we run the crystal report we get the possibillity to fill in the parameter for this SP. The report looks fine but how can we send this parameter in the crystal report script??

View 3 Replies


ADVERTISEMENT

.net - What Stored Procedure Is Crystal Reports Using To Connect To Database

Nov 25, 2010

I'm trying to make alterations to an existing Crystal Report form in a VB.net project I've inherited, and it's my first time using Crystal Reports. For clarity, I'm using Crystal Reports under Visual Studio 2010, not the standalone Crystal Reports.I've had a good go at looking through all the functions and variables listed in the CR Designer, and can't find what stored procedure is being used to call for data.

View 1 Replies

Using Result From A Stored Procedure With Parameters As Value For Gauge Chart - Crystal Reports In Asp.net Application

Jun 8, 2012

I have a stored procedure that takes in 2 parameters and returns an integer value. I would like this value to be the value for a gauge chart on the page. The 2 parameters will change depending on the attributes of the selected item. Is there a simple way to pass the one value from the stored procedure to the chart to display? This will be embedded in an asp.net application (vb) - so depending on the previously selected item, the values for the parameters and result will change.

View 1 Replies

DB/Reporting :: Crystal Reports With Vista X64?

Dec 21, 2009

Recently, I unfortunately installed Windows Vista x64 on my computer! Now, besides all other problems, I realized that Crystal Reports which has been installed with .Net 2005, isn't compatible with Vista x64. I searched internet & realized that I need a redistribution kit named "CRRedist2005_X64.msi" but I can't find the file itself!

View 6 Replies

DB/Reporting :: Creating Reports Without Crystal Report?

Mar 2, 2010

I am using VS 2008 standard edition to develop my first windows form application and it does not come with crystal components. I nedd to design few reports but I can't find any help on the net. In my vba application I create one form which accepts all parameters and based on parameter I build SQL statement and pass it to report data source. I would like to similar in vb.net, but all I see is cryatal. Can I create reports without Crystal?

View 1 Replies

DB/Reporting :: Deploying .Net Application With Crystal Reports?

Oct 8, 2008

I have a project that uses a crystal report and I'm planning of deploying it.The problem is, is there a common setup for the components that was used in my project so I don't need it to manually register on the client pc?

View 2 Replies

Basing A Crystal Report On A Stored Procedure?

Jun 30, 2011

I am using vb.net 2005 andCrystal Reports .net. I am fairly new to using Crystal and am having some problems with a report I need to change. The old report was simply based on an SQL Server 2000 view and worked just fine. However, now I need to use a parameter to filter the data first. To do this, I created an SQL Server 2000 stored procedure that uses one input parameter and then I simply "select *" from the original view and use a "where" clause to filter the records based on that input parameter.

View 1 Replies

Using Parameter Stored Procedure In Crystal Report?

Jun 12, 2009

I have one problem when passing value to parameters for Crystal Report Viewer. The parameters are from Stored Procedure which I have defined.

My aim is to accept values from user and display it accordingly. I try to write code as below in Button View Click Event:

[code=language]
Dim rptdoc As New ReportDocument
rptdoc.Load(Application.StartupPath & "ReportsSummaryAdsRecordBetweenDate.rpt")
'@startdate is parameter in stored procedure

[Code].....

But the problem is that Crystal Report Viewer does not accept my passed values and prompt me to input values for @startdate and @enddate in its dialog box.

View 3 Replies

DB/Reporting :: Labels On Crystal Reports..Read Only Or Writable?

Dec 13, 2008

I have one working and displaying my data and can change it using my ListView when an item in the list is picked.Now I need to change some of the labels on the report at runtime and cant seem to do it?If i have textbox on th report I can change its text at runtime I just cant seem to do it with the label controls that show in the report as IFieldObjects

Code:
Dim myReport
myReport = New CrystalReport1

[code]....

Can I do this with the label controls or should I try and change all the bound IFieldObjects to TextBox controls?

View 3 Replies

DB/Reporting :: Block Var In Stored Procedure

Jul 19, 2009

I am using a stored procedure to add simple data to my db. My problem is if I want to add multiple items at the same time, I find myself calling the sp over and over again. This seems as though it is not the right way. I want to be able to pass multiple values to my stored proc.

I want to add say a persons name. I would like to capture the data I need into a block var such as name(x) and pass that to my procedure and in my procedure write as many fields in as I need.

I have an sp that takes my var name and adds it to my table. I do not want to call this procedure 300 times if I want to add 300 names etc. I would like to pass the whole block name() and all 300 at a time and in my sp write each like

name(0)

then write

name(1)

View 4 Replies

DB/Reporting :: Crystal Reports & Entity Framework 4 With Nullable Types

Jul 6, 2011

I have written an application which manages some bookings, and want to use Crystal Reports to provide the reporting engine. I have used it before with datasets with no problems.

I am using EF4, and have a LINQ query and report datasource assignment as below:

Code:

Dim ActiveCustomers = From Customer In FMEntities.Customers
Where Customer.Status = 1
Select Customer

[Code].....

I have read up that I may need to convert the incoming data, but I am confused as to what it needs to be converted to. Should it be a datatable?

View 1 Replies

DB/Reporting :: Set Number Of Groups Per Page Programmatically In Crystal Reports?

Jul 8, 2009

I'm designing a program using VS.NET 2008 and Crystal Reports 2008, and I want to give the user the option to set how many groups per page is viewed. I know I can do it using the Group Expert, but is it possible to set it programmatically in VS.NET?

View 1 Replies

Ms Access - Get The Result Of Stored Procedure With Parameter And Use For Crystal Report In .Net

Jan 9, 2012

My IDE is MS Visual Studio 2008.I just want to ask how can I get the result of a store procedure from MS Access using VB.Net and use the result in a Crystal Report.

I have a Windows Application Project that requires this function.

View 1 Replies

DB/Reporting :: Stored Procedure OUTPUT To Variables?

Apr 26, 2010

I have been banging my head against a brick wall for 2 days on this one. Someone please help, I am sure I am doing something stupidly wrong.I have a stored procedure that accepts 2 inputs and has 4 outputs. The SP checks the users database against a given username and password.

[Code]...

View 3 Replies

DB/Reporting :: DataGridView Back To SQL Database Through Stored Procedure

Feb 18, 2009

I have an app written in vb2005 that allows users to search a sql database for a store name. Once a store is selected, it then presents the user with 12 different tabs, each with a DataGridView showing various bits of info about the store. It's a large and convoluted database, so I'm using stored proceedures to pull the data for each tab. Here's a sample of one of the subs that populates the tabs.[code...]

Now, this works just fine to populate the grids on the tabs, and the same code is copied into each of the subs that fill the grids (changing the stored proc, parameter and grid names, of course). The problem I'm having is how to move changes made to the data in the grid back into the database.

I have stored procs that do this (and the procs do work), I just can't seem to figure out how to trigger the stored proc when the user makes a change.

If it matters, there is only a grid on each tab, I did not use a binding source as I am trying to keep an abstraction layer between the data and the app. I did create a dataset, which is how I gain access to the stored procs, but I left the grids unbound and (as seen in my code) bind them at run time.

View 2 Replies

DB/Reporting :: Stored Procedure On An Oracle Database Called : GET_HVE_PACKAGE_VERSIONS

May 29, 2008

I have a stored procedure on an oracle database called : GET_HVE_PACKAGE_VERSIONS This basically calls versions of PLSQL packages as stores the versions into a table. I am having big problems trying to call this procedure. I have tried everything. I am currently able to create and update etc etc using the executeNonQuery method and I thought that I would be able to call a procedure them same way, obviously not

the whole project depends on me being able to call procedures against the database.

[Code]...

View 5 Replies

DB/Reporting :: Stored Procedure Test For Null/empty Uniqueidentifier

Sep 6, 2008

I have a stored procedure (SQL Server Express) that returns a count of records:

SELECT COUNT(AdminUserID) AS CountEm
FROM Licenses
WHERE (AdminUserID = @AdminUserID);

Table "Licenses" has a field "CompanyID" which is a uniqueidentifier.

I need to add a clause to the WHERE to exclude records from the count where "CompanyID" is null/empty.

In VB code I'd do this with "If Not (TheCompanyID.Equals(Guid.Empty)) Then"

How would I do this in a stored procedure?

View 2 Replies

Deploying Crystal Reports - Adding Crystal Reports To The Setup And Deployment

Jun 21, 2010

I am working on VB.NET(Visual studio 2008)..I completed developing my application and i need to deploy the application. I tried it and faced problems in some areas like adding crystal reports to the setup and deployment. I created a setup file to my application and everything is fine except crystal reports...its showing the error like; An error occurred in crystalDecisions.Reports, crystalEngine threw exception.

View 2 Replies

DB/Reporting :: Adding Message Box If No Results To Display After Calling SQL Stored Procedure

Mar 10, 2009

I have created a search form based on my SQL database to search for individual records based on 3 types of criteria. The form is up and running but I want to be able to add some more code. I have assigned Stored Procedure to each click event for each button. What I wantr to be able to do is after value is added to text box and button is clicked if there are no reults to display than a message box is displayed with adequate message detailing this. Also is it possible to add a count of records to the form. Once value has been enetered ij tyext box and stored procedure runs and fills dataset with required data can I display a box to show number of records from this search.

[Code]...

View 1 Replies

DB/Reporting :: Visual Studio 2008 + Crystal Reports 2008 Viewer Click Event?

May 10, 2008

this event works ok, but the problem is that I don't know what field was clicked. Should I use objectinfo or something else? VB.net won't recognize for example e.objectinfo.

View 1 Replies

Call A Stored Procedure From Sql Server Which Work With A Stored Procedure

Sep 11, 2009

The store procedure which give me the information I need is:

USE [UCSMIS]
GO
SET ANSI_NULLS ON

[Code].....

When I try to add it to my report it gives an error, is it because of the temp table and how should I go about it?

View 2 Replies

Difference Between Crystal Reports In Vb - Create Crystal Reports In Vb?

Apr 14, 2009

tell me wat is the difference between crystal reports created in vb and in vb.net??how to create crystal reports in vb??

View 1 Replies

Sql - Getting Parameter For A Stored Procedure Inside Another Stored Procedure

Aug 29, 2011

I have a stored procedure to update a table, but needs a couple of values from another table.

the first two selects get the value from the table and then are used in the update statement.

The select statments:

Select @iStatusDropDownValueID = iDropDownValueID
From DropDownValue
Inner Join DropDownValueType On DropDownValue.iDropDownValueTypeID =

[Code].....

First, the values that are retrieved by the first two select statements are always the same. So they could be passed in by the code itself. I don't know that this will speed things up at all, just make the entire stored procedure better and easier to read.

Second, if the "Value Name" should change this store procedure will break (which is possible, but not often).

I am looking for any insight into the Best Practices for this situation.

View 2 Replies

Creating Reports In Crystal Reports That Is Integrated Within Visual Studio 2008?

Aug 26, 2011

I am creating reports in Crystal Reports that is integrated within Visual Studio 2008, and I noticed that some of the features are disabled. One is the ability to link tables with a Right Outer Join or Full Outer Join. I also cannot "Show SQL Query" in Crystal Reports. Is this something I can enable or do I have to purchase or upgrade?

View 1 Replies

DB/Reporting :: Use "IN" In Stored Procedure ?

Feb 13, 2009

I have a states separated by commas and would like to query it out from stored procedure, how can i do it? let me explain below.

The normal query is:

CODE:

But in my procedure, the procedure as below and the @State value as

CODE:

The procedure above does not work because when I run the state list as

CODE:

If I change it to single quote, it error. how do you do it?

View 1 Replies

Generating Reports Without Crystal Reports?

Dec 1, 2011

How can we create a report in vb.net without using any crystal reports

View 11 Replies

Crystal Reports With .net?

Sep 26, 2011

I am preparing crystal reports using vb.net 2008 with ms sql server 2005.everything is showing fine.. except that i want my report to be multiple column... I cant do this using "format multiple column" option because the data is not shown in details section. Actually i need to group the data in data.

e.g: i am preparing a warehouse report to know how much quantity of which products are left, products with 0 (zero) value are not displayed..

I want my reports to be as follows: item1 item_quantity item2 item_quantity item3 item_quantity

View 2 Replies

Adding A Reports Application Or A Crystal Reports Application?

Dec 22, 2010

I'm using VS 2008 to develop a solution which will report on data mostly contained in SQL Express databases, across two servers. It will be used by up to about 10 XP clients. I am unfamiliar with the Reports Applications. Will I need to buy extra licenses to use a Crystal Reports application? Why are they both included in VS? What is the basic difference between them?

View 3 Replies

.net - Connecting To Crystal Reports 4.6 From VB?

Jul 26, 2009

How can I connect to a Crystal Reports 4.6 report that connects to SQL Server 2005 as a data source, using Visual Basic?I don't want to specify the connection string in the report. I want to pass the connection from VB. Is there any way to do this?

View 1 Replies

.net - Images In Crystal Reports?

Jan 28, 2011

I am working on Windows Forms Projects.I am creating a report for customers.The report data is pulled from a "CustomerDetails" table.A field in the table is called "CustPhotoName", this holds a string which relates to an image file.

I Currently have a report set up which runs for a single customer by passing in a customer ID. Then using the passed in ID to populate a Dataset with an ImageRow and then a sub report with the image from the dataset.

I am wanting to set up this report where I can pass in an array of customer IDs and produce the reports (1 page per customer with image (if CustPhotoName has value))

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved