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

SSRS border questions

$
0
0
I have VB 2010 project and a using ssrs for reports.

I have a Matrix and have defined the borders of the text boxes.
some of them appear correct but some have a thick grey line in the centre and a thin black line above and below the line.

Also if find the borders on the edge of the table are thinner than the borders in the middle.

Any suggestions on what I am doing wrong.
Thanks.

How to place group header at left side of detail section in datareport

$
0
0
Hi there,
Sorry, I am re-posting this issue in this section. At morning I posted it in 'Visual basic 6 and earlier' section. At that time I did not noticed this section. As I don't know how to move a thread from one section to another, I am posting it here. So, one copy remains at mentioned section as a double copy. It will be my pleasure if any moderator deletes my earlier copy of this post.

Actually, I want to create a datareport in vb6 according to the following format:

Name l Month l Salary
Mr. X l March l $300
June l $225
July l $300
Aug l $275
Mr. Y l March l $325
June l $325
July l $300
Aug l $295
But I am unable to design this report as I have to set Name as group header. So it is becoming like this:

Name: Mr. X
Month l Salary
June l $225
July l $300
Aug l $275

Name: Mr. Y
Month l Salary
March l $325
June l $325
July l $300
Aug l $295

How can I design datareport so that group header can be placed at left side. If it is not possible using 'Name' as GroupHeader, is there any alternative way?
Like Name will be placed in detail section and if the column 1 of second row have the same name as column 1 of first row, then it will show empty("") data in column 1 of second row. I dont know how to get individual cell data of datareport like datagrid.
Any idea??

crystal reports

$
0
0
Hello everyone,

I need help in tryin go open crystal reports to different computers. I have created a crystal reports and when I try to open on a different computer than mine doesn work gives me a error message. I currently using visual studio 2010 for the crystal reports. I am thinking maybe I am missing some files? Can anyone help me thank you.

Crystl32.Ocx not registering in Win 7 (32 Bit)

$
0
0
After installing Crystal Report 8 in Win 7 (32 Bit) when I try to load any VB6 project (which were running fine in Win-XP (Service Pack 2)) gives an error message "Crystl32.Ocx could not be loaded".

When I try to register Crystl32.Ocx with regsvr32, it gives an error "The module ...\Crystl32.Ocx was loaded but the call to DllRegisterServer failed with error code 0x8002801c."

Pl help.

Setting ssrs header text

$
0
0
I am using the same report for several different options and I want a different title (in a text box) on the header depending on which option the user selects.
I was hoping to have a global variable and set the header text box text equal to the global variable.
I don't think ssrs knows about glabal variable defined in your VB project.

A second was was to use a field, but you cannot have a field (from a table) of the header.

I feel what I'm doing is simple, I' hope there is a simple solution.
Thanks.

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
Viewing all 589 articles
Browse latest View live




Latest Images