I have created crystal report for billing summary purpose in windows application.I have sorted out my data on billdate. now i want to claculate subtotal on datewise in crystal report then how to write the formula for that.
I am using Crystal Report 10.5.3700.0. I have created a report which is using stored procedure. Now from vb.net code (in VS2005) I set the selection formula like: proSaleByPerson;1.PersonsId=1
But when the report load its giving following error "Query Engine Error 'ADO Error Code:0x'", Failed to open a rowset. Keep in mind that all other reports are working fine only that reports creat problem which are using stored procedure, when setting the selection formula.
i have a problem with my crystal reports selection formula, i have two forms form1 and form 2. in form 1 i have combobox where you can select the values to appear in form2 crystal report viewer but when i run form1 and select an item from dropdownlist visual studio throws an error this my selection formula "{StaffInformation.Specialty} LIKE '" & Form1.combobox1.text & "'"
I am facing one issue while passing SelectionFormula in Cystal report 8.5 using vb6 which is following:when I pass SelectionFormula in English it works fine but when I pass in Thai or in Arabic it does not get any data in the report. I am using the following way to do this
I have a crystal report that fails on a formula field but I cannot see why.
Here is my code:
Code: Public Function CreateReportPDF(ByVal dsReport As DataSet, ByVal CrystalReportPath As String, _ ByVal reportSize As String, ByVal landScape As Boolean, _ ByVal dsParameters As DataSet, ByVal filePath As String, _ ByVal fileName As String) As Boolean
After converting all degrees-->decimal, and decimal-->hours, how can i use Tan, Cos and Sin formula in vb.net? I want the user must enter an input (which it is a coordinat-->i already convert the degrees-->decimal value as suggested by stanav and paul.
The questions like this (i only calculate on paper but dont know how to implement in code):
Input user need to enter: -latitude local (e.g. 1.4875) -longitude local (e.g. 103.3883333)
Iam workin wid crystal reports have a problem i jus want to create a crystal report dynamically not by using crystal report wizard rather by using a blank crystal report and connecting to the database server and generating the report from the database manually....
i am having a Visual Studio 2008 but it not install with crystal report when i open add new item-> its didnot contain Crystal Report how can i add crystal report and make crystal reports in visual studio 2008 how i install crystal report with visual studio 2008 only crystal reports 2008 install and its open with visual studio 2008 when we click Project->Add New Item-> and crystal reports shows in thiis file
I plan on designing a Crystal Report, and then calling it through VB.NET code. Will the end-user need a Crystal license in order to use the crystal report part of the program?
I want Number of cartons and Pieces currently available in the stock that are about to expire in next 30 days and this is calculated based on expiry date...I have used formula field on crystal report to calculate current stock like "stock.crtns_added - stock.crtns_removed" and "stock.pieces_added - stock.pieces_removed"....Now I want to group by item name, category and expirydate because based on these three columns there can be more than 1 entries in the database....I want that when there are more than one entries the formula should sum up all the cartons and pieces for same item of a category with same expiry date and on report it should display just 1 line showing available cartons and pieces that are about to expire
How can i do this?? How can I apply group clause on the formula field in crystal report to get sum of cartons or pieces for each item based on expiry date??
When i pass the parameter and run the report it works fine as i close the form it closes the form is there any way so that i should be able to close the crystal report viewer and pass the parameter again and should be able to view report again.
I got a problem I want to print a report which is receipt having size 3 x 4 cm. i am unable to resize crystal report. i am using crystal report coming with visual studio.net 2008.
I have created an application using vb.net 2008 and for reports Crystal Reports Basic for Visual Studio 2008 but the problem is, when I run the application in another machine away from developing box, I get the Load report failed notice. I don't have any idea on how I should approach this issue. I tried installing the CRRedist2008_x86 and CRRedist2005_x86 but still the problem won't go away.
I'm having a problem with my crystal report with regards to report footer. I want to display the data from the table, column name "Remarks" in report footer but when I try to call the data it doesn't show the remarks. I'm using VB 6 and mdb files as my back end. Is there any command or fundamental that I've missed?
I had created 5-6 crystal report in my vb.net project with back end sql server 2005 and i had given my path for crystal report. after this i had creted setup and deployed at customer machine but there it dosn't shows any report instead of it gives an error. for viewing report so how to come up with this probelm.
im trying to fetch rows in 3 TABLES using JOined Queries.im tried the query first in MS ACCESS and it worked but when i tried to show it in Crystal report it wont show its data. [code]
I am working on a windows application in VB.Net 2008. I have added a crystal report in my project. and I have draw a Crystal Report Viewer to view the report. But when I run this report It asks user name and password. (The snapshot is attached here) I have used the following code to set the log on info of report.
I simply created a "Report" folder on the the project and "crTxEmpMaster.rpt" is created on the "Report" folder.I tried load a .rpt file for Crystal Report, but it occured "Load report failed" What is wrong wth it? #1 and #2 both failed.
Dim menuReport As New ReportDocument() '#1 Dim reportPath As String = Application.StartupPath & "" & "ReportcrTxEmpMaster.rpt"
I need advise on how to solve this scenario. I am not sure whether I should use any Report Application such as Crystal Report or I can just simply use datagridview.My scenario:In a new form, a table will show a least 3 columns.
First, ItemID
2nd, Total Quantity Sold for the Current Month
3rd, Total Quantity Sold: Last month
ItemID Current (Nov) October ABA1 100 85 ABB1 80 90
Hence, I can compare the figure of the current month with the past few month.Right now, I do not have any problems building SQL_String for calculating the Total Qty Sold for the Current month and display it via DataGridView. But I am not sure how to additional column that calculate the Total for the past few month
I am trying to convert a VB6 Data Report (.dsr file) to a Crystal Report through the migration process within Visual Studio. I have read articles that reference adding a Data Report to a Project from Visual Studio 2005/2008 and that it will convert the Data Report to a Crystal Report, but I have not been successful in doing so. Does the VB6 Data Environment need to be converted too? Has anyone been able to do this successfully and if so, how?
I have a table there in SQL SERVER 2000 which has five fields[date income amount expense amount]. Now user wants to input first date & last date there in form to show records ok? To show record by one paraemeter was easy for me & I did it by following code. I mean I made one parameter & got one form with one text box & one button & one report viewer. Let me show you my code for button event what I used to show report by one parameter.
I have a formula, found in an Excel sheet that I have to convert to vb.net...I can't figure it out, eventhough it's seems a quite easy formula to me.the formula is: Mod(X + Int(Y/100000);20)In fact if I render some values...and use the Mod function in Excel or in VB.NET it gives me other results.
I did not see a forum for Crystal Reports but seeing as I am using CR with Visual Studio 2008 I will post here and move the thread if told to. That being said here is my problem. I created a custom function named formatTime. Here is the code