Quantcast
Channel: VBForums - Reporting
Viewing all 597 articles
Browse latest View live

Can't see the CrystalReportViewer in ToolBox?

$
0
0
Hi,

Why I can't see the CrystalReportViewer in ToolBox. Under Reporting there is only one contol "ReportViewer".

I am using VS2010 (CrystalReports installed).

Thanks for any help.

[RESOLVED] Print using Custom size, different results on different Printers

$
0
0
I want to print an invoice 15,3 CM x 20,1 CM, it's a custom size. I'm using Microsoft Report in a Report Viewer in VB.NET.

Using my own Printer i managed to make it print aligning the paper to the right side of the Printer tray, but then after deploying to a Customer, he tried to print using an HP LAserJet 1018 (laser printer), paper can't be aligned left or right when using this printer, it has those "things" that immobilizes paper in a fixed position, the problem then was that it printed my invoice 1,5 CM moved to left, the exact distance between right side and the center (forced) position in this laser printer.

So my question is: Is there any universal way to print using Custom size paper? or i will have this nightmare for every different Printer that's used??

Thanks!

hello all

$
0
0
hi everyone, i'm new to this forums...thanks!

looking for a freeware crystal report

$
0
0
hi there im looking for a freeware crystal report or any other reporting tool better than data report...please help! thanks

Getting data from two recordsets problem

$
0
0
Plz help me:
I displayed data on datareport from two recordsets. Report is also attached. The problem is:
Date is display twice, i want to display date in once and data should display against the date from both recordset. I used the code
Code:

    rsFee.Open "SELECT CurrentDate, SUM(DepositedFee) AS `DepositedFee` FROM Fee WHERE month(CurrentDate)= " & cmbMonth.Text & " and year (CurrentDate)= " & txtYear.Text & " GROUP BY CurrentDate order by currentdate", myConn, adOpenKeyset, adLockOptimistic
    rsIncome.Open "SELECT CurrentDate, Sum(Amount) as `Income` FROM tbTransaction WHERE HEAD='INCOME' AND month(CurrentDate)= " & cmbMonth.Text & " and year (CurrentDate)= " & txtYear.Text & " group by currentDate order by currentdate", myConn, adOpenKeyset, adLockOptimistic

'**********************************************************************************
    theRs.Fields.Append "Currentdate", adDate
    theRs.Fields.Append "DepositedFee", adDouble
    theRs.Fields.Append "Concession", adDouble
    theRs.Fields.Append "Total", adDouble
    theRs.Fields.Append "Income", adDouble
   
   
    theRs.Open
    While Not rsFee.EOF
    theRs.AddNew
    theRs.Fields!CurrentDate = rsFee.Fields!CurrentDate
    theRs.Fields!DepositedFee = rsFee.Fields!DepositedFee
    theRs.Update
    rsFee.MoveNext
    Wend
   
    While Not rsIncome.EOF
    theRs.AddNew
    theRs.Fields!CurrentDate = rsIncome.Fields!CurrentDate
    theRs.Fields!Income = rsIncome.Fields!Income
    theRs.Update
    rsIncome.MoveNext
    Wend
    theRs.Sort = "currentdate"
    theRs.MoveFirst
    Set rptMonIncome.DataSource = theRs
    rptMonIncome.DataMember = theRs.DataMember

    rptMonIncome.Show
        Unload Me

Attached Images
 

Creating Reports with Reportviewer

$
0
0
Help with ReportViewer
Am just starting with Report Viewer (VS2011 Beta) and need some assistance.

In my design have a Table with Group, Body and Group Total sections.

Question is - How do I split the table so body has different number of columns and different column widths than Header.

Here's what I want to accomplish....


Really need help on this - can't find much documentation or examples to follow.

Thanks

[RESOLVED] RDLC ReportViewer

$
0
0
I have a form with buttons for all my different reports (Report Menu). Each report I made I have been making it's own form with a reportviewer on it. I am wondering if there is a way to have it so when I click the button for the report it uses the same form with reportviewer and just tell it which report to choose attach and rebind the datasource for each specific report?

Thanks for any help! I am very new to vs2010.

Stacy

ssrs displaying fields that are not in the dataset

$
0
0
I have a query statement that joins two data sets together giving a list from one dataset and from the other dataset.

'Contacts' contains job_number, contact_surname & contact_forename
'joblist' contains job_number, job_name & status.

Code:

ReportQuery = "SELECT c.job_number,c.contact_surname,c.contact_forename,j.job_name,j.status,FROM contacts AS c" & _
" INNER JOIN joblist AS j ON c.job_number=j.job_number"

In my report want to show all these fields but I can only select a field from one dataset.

How do I get round it?
At present I and using an alias(AS) to reassign the field to one that has not being used.

sales tax not printed

$
0
0
Hi all,

First of all thanks for all the help in my previous posts.

The crystal report in not printing the sales tax amount for particular invoice. But the value exists in the database. I have tried re-adding the sales tax field in the crystal report but no use the sales tax value for a particular invoice is not getting printed.


Please tell me the possible reasons why data my not get displayed in report even tough it exists in database.
:wave:

Multi page Crystal Report

$
0
0
I am using vb 2010 forms application and Crystal Reports, all is going well, reports look really well, however I now need to print a lease (12) pages.
Sporadically throughout the report I have to fill in some data.

How does 1 go about setting up and printing a 12 page report like that?

Surely I don't have to create a new report for each page then drop them on the main report as sub-reports...yikes I hope there is a better way.

Thanks
LB

Pass Vb global variable to CR

$
0
0
I have a global variable that I want to use in all my CRs, its set when my main menu opens, works quite well and I have it as a title on all my forms. It is layed out like this. strTitle
ACME Housing Development
123 Any street
Some City, State, Zip
Phone 555-555-1212, Fax: 555-555-1313
John Doe Executive Director

Anyway I want to use that for the title of all my reports but I'm having trouble comprehending how to pass the variable to my report viewer and onto my report.
I've found a couple examples, and can't seem to get any of them to work.

If someone has a short example of how to pass the variable that would be great.

Thanks
LB

crystal report with error failed to openrowset

$
0
0
HI all,

I have a vb.net application. It has many reports (we use crystal reports and its a visual studio .net 2002 application and is built on .net 1.1) when i try to view the report i get this error "Failed to open a rowset" for the first time, but when i try to view the report again (by clicking on view button) then i don't get this error message and crystal report works fine. I am new to this application and not sure what to do.


I would be really happy if someone can help me out of this.:eek2:

:)

Cross tab data report

$
0
0
Can i create cross tab query through data report in vb 6. I did this work in MS Access 2007 nd this query also show data in datagrid in vb6 but i want to show this data in VB6 through Data Report nd can't managed to show it.

Getting Sum on right side

$
0
0
Can i sum two left columns in datareport of vb6, I have two bounded textboxes which obtained data from database and i want to display sum of every record on their right side. Can i do this? If yes then what is the procedure?

Crystal Rpt 4.0 problem printing just 1 record if rpt contains a memo field

$
0
0
I am using crystal rpt 4.0 with a vb 5 program on a win xp computer.

I have a data file with 7 records.

For the first time(for me) I added a memo data field (located on another database) to a new rpt.

When I run my crystal rpt in "design mode" the rpt with the Memo data field prints all 7 records.

When I run the same crystal rpt in my vb 5 program only the 1st record shows and prints.

WHAT COULD CAUSE THIS? Do I need to set a reference or change my crystal control in Some way?

Please help!!

Thanks

[RESOLVED] crystal reports dll`s

$
0
0
Good Day,

I have a simple program which runs on vb6, and with it reporting tools from crystal reports 10.
now i was wondering if all installed crystal reports tools on the program will work on pc`s without(installing) actually installing crystal reports?

im working on the DLL`s now but it seems not working...




Thanks~

How about the Open Source FyiReporing and its forks?

$
0
0
Firstly, is this subforum purely for "Crystal Reports, Access and Data Report Designer" or are other options welcome?

I noticed that there was an Open Source RDL-based reporting option called FyiReporting, which appeals to me as a simple and Open option.

Although FyiReporting apears to be dormant since 2009, it has been 'forked' a number of times.
http://www.fyireporting.com/ - forum continues as best place to discuss forks?

Does anyone have any experience of these, comments or advice about going down that path? And where would be the best places to ask questions to that little open source 'community' of Devs? I tried to register on the fyireporting.com forum but haven't been accepted by the moderator.

As so often happens, Open Source projects let themselves down by appearing to be dormant (have a homepage with updates if nothing has happened for a few months!) or appearing to be a poor choice due to lack of support options - no active forums to ask for help.

Forks ...
It can be real detective work trying to figure out what's worth using!

My-FyiReporting - some recent activity but comments on his blog don't get published?
By "majorsilence" (Peter Gill) http://www.majorsilence.com/
https://github.com/majorsilence/My-FyiReporting/

NReports
http://nreports.codeplex.com/ (NET 3.5) dormant since early 2011?

ReportFU - current? Forum spammed to heck and back
http://reportfu.org/

ReportingCloud - dormant?
http://sourceforge.net/projects/reportingcloud/

crystal reports on a different computer

$
0
0
Good morning everyone,

I have created some crystal reports but my issue is I need to install the .exe file on different computers for users to use reports. I dont know how to do this, can anyone tell me how i can get this done. Someone told me that i might need to publish my reports. Thank you.

SSRS Sum and iif problem

$
0
0
I have a field "Work_code" which can ent in "0", "1" etc.
I also have a field "Hours". I want to display all the hours if the work_code ends in "0" and sum them.

THe expression
iif(right(Fields!work_code.Value,1)="0",Fields!hours.Value,"")
displays the hours if the work_code end is "0"

But the following does not display the sum - I'm not sure why.
=Sum(iif(right(Fields!work_code.Value,1)="0",Fields!hours.Value,""))

[RESOLVED] Getting Sum on right side

$
0
0
Can i sum two left columns in datareport of vb6, I have two bounded textboxes which obtained data from database and i want to display sum of every record on their right side. Can i do this? If yes then what is the procedure?
Viewing all 597 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>