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

Rdlc Report

$
0
0
Can anyone help create a rdlc report that will fetch data from access database using date as a parameter that is picked by the user on the interface?

[RESOLVED] Crystal Report 2 header, separate details each

$
0
0
Hi.
Im having trouble creating a payslip report that displays Loans and Leaves details.
I have attached the supposed-to-be output of the report that I have

In short, i need it to be:

Page Header (for Loans)
Details (of Loans)

Page Header(for Leaves)
Details (of Leave)

here it is.
Name:  Capture.jpg
Views: 109
Size:  46.6 KB

I tried grouping the details and headers but no luck.

If anyone here can help me out to solve this problem, I would really appreciate it.

Hope your day will be good!! God bless!
Attached Images
 

I have problem to connect crystal report with MSaccess 2007-2013

$
0
0
Hi
I have problem to connect report with MSaccess 2007-2013 data base protect by password

I get the following error message:
Logon failed.
Details: ADO Error Code: 0x80040e4d.
Source: Microsoft Access Database Engine.
Description: Cannot start your application. The workgroup information file is missing or open exclusively by another user.
SQL State:3028
Native Error: -124520301 [Database Vendor Code : -124520301 ]

please help me

RDLC report Printing on button press

$
0
0
Hi Guys,

Please if anyone can give me a clue about how to print the report which is already generated in reportviewer on a press of a separate button instead of using reportviewer control bar print button.

any help will be much appreciated.


Best Regards,

Bilal

Crystal report+vb6+msaccess

$
0
0
Following is what i am doing and need to know ..
I am using internal crystal report which i have added in vb environment .. .rpt file but not external..
now what i want is following.
1)How can i give it database path at run time?
2)How can i pass parameter to it? and also how can i set parameter for it
3)Any good tutorial about same..
4)Can we pass it connectionstring like we do to adodc and dataenviroment..

VBversion-service pack 6
Datareport 8.5

Report whit matrix not show values in WinForm

$
0
0
Hi everyone,

I'm having trouble with a report, in designer works perfect, but when run from within winform app don't show data in the matrix.
The environment is Windows 7 x64, Visual Studio 2008 SP1, SQL Server 2008 SP3

Someone knows of problems with matrix reports in this senario.
Added two screen shots to clarify.

preview in report designer:
Name:  Report in Report Designer.jpg
Views: 24
Size:  26.4 KB

Report in app:
Name:  Report in WinForm.jpg
Views: 20
Size:  19.6 KB


Thanks in advance.
Attached Images
  

How to automatically set Crystal Report Zoom factor to "Full Page" for CR 11

$
0
0
I am using VB 2010 and either CR 11 or CR 13 whichever is for VB2010.

I want to set a property in the CR Viewer or programically set the Zoom Factor to "Full Page" when the report loads.

How can I do this?

[RESOLVED] How to automatically set Crystal Report Zoom factor to "Full Page" for CR 11

$
0
0
I am using VB 2010 and either CR 11 or CR 13 whichever is for VB2010.

I want to set a property in the CR Viewer or programically set the Zoom Factor to "Full Page" when the report loads.

How can I do this?

refreshing on crystal reports with a stored procedure.

$
0
0
Hi.
I am refreshing VS2008 reports. So what i want to do is create just a report(file), that will be integrated to another program.
Mssql and no vb code.
I create a new crystal report project, i choose Create new connection - oledb - sql10 navite client connection and i choose db and stored procedure.
Now the report will be inserted to the design. I try a preview and it tells me to to enter parameters value.
I was wondering if i can have this to be selected on the report page as if i drag the parameter field in the report design it will just display as the values i entered in the parameter popup window.
Also i vaguely remember using "@" for values. Is this a feature on the crystal reports full standalone version or is it here also?
Remember i do not need any vb code as this will go as a rpt file in another application.
Thanks.

How to auto increment on only blanks fields

$
0
0
Hi there!

I'm new here and could use some help!

I am trying to create a formula that will auto increment, starting at the number 6082, for ONLY blank fields. I've tried a few different things and nothing is working.

Help??

:confused:

Create ActiveX DLL for Crystal Reports UDL Function that will insert row in DB table

$
0
0
Hello!

I got a new project on my desk and have no idea how to accomplish it.
I am working with SQL Server 2012 and Crystal Reports 11.
I have a report that is being emailed through an automated email application (Reportal) to the Ink Department.
The email contains a list of job numbers and job description for all jobs in process that need ink mixed.
The Operations Manager is upset because it takes a long time for the ink matcher to clock in each job number and say ink mix is done.
He wants me to add a button on the report and somehow pass the job number for each row to some kind of code that would clock the ink matcher into the job.

I have a theory, if it can be explained into words, it can be done.
I spent the last two days reading and trying to come up with a plan.

Apparently I need to create a DLL - ActiveX which can be copied into the Crystal Report folder and used as a function in the Crystal Report.

I could use a hyperlink and in the hyperlink formula call out this function, and pass the job number for each row to the function which will insert a record into the Production table (which records each clock in).

I know SQL, I know how to insert a record in a table... I actually wrote the code.... but I don't know how to create a DLL that would contain that code.

To do that, I need Visual Basic and have no idea how to use it.

Can anyone help me with this?

Thank you!

[RESOLVED] How to auto increment on only blanks fields

$
0
0
Hi there!

I'm new here and could use some help!

I am trying to create a formula that will auto increment, starting at the number 6082, for ONLY blank fields. I've tried a few different things and nothing is working.

Help??

:confused:

Details Section format, paylip-like report. landscape division

$
0
0
Hi..

I wonder if it is possible to create a report like payslip however
the there should only be 2 employees' payslip per page.
like in the image here.

Should I make a subreport here?

Name:  Capture.jpg
Views: 42
Size:  11.7 KB
Attached Images
 

Crystal Reports - Duplicate detail sections for nonconsecutive rows

$
0
0
Hi guys,

I have a novice issue.

I have a report that is sorted first by {Invoice#} and then by {Sale Type}.

The details section shows all of the different line items, or sale types. I was getting several duplicates and used the Section Expert to suppress with the formula {scsasld.sal_desc} = Previous ({scsasld.sal_desc}), since this is a unique field.

I have also formatted the three fields that are in the details section to suppress if duplicated.

Unfortunately, I'm still getting several duplicates and my initial thought is that it's because they're the only ones that are not duplicated in consecutive order. Does Crystal suppress only if in consecutive order??

Help :confused:

Thank you!

-M

Subtitle printed on a sheet of A4

$
0
0
I wonder maybe some of you already was working on similar thing. I need to develop code that will take some texts and company logo and will place it on the A4 format paper in diffrent count of it. So lets say entire paper got only 1 or lets say 4, or 16 and so on... User would define how many of them should be spliited on paper.

So lets say user define:

Company name: AnyCompany
Address: AnyAddress
Symbol: AnySymbol
Date: anydate
Logo: graphic logo

so it would look like this with some frame around:
Code:

AnyCompany        graphic logo

        Symbol

Address          Anydate

And based on how many user want it on A4 paper this will be splitted and resized on A4 format paper.

Did you already work on something similar can you support me with that?

How i load picture from path in Crystal reports ?

$
0
0
hi all

i want to load picture from path into crystal reports 10 in vb6

waiting for help

thank you all

vb6 data report grand total

$
0
0
I made a datareport using recordset and not with dataenvironment. so my detail section compose of unbound textbox.

What I want to achieve is to sum the unbound text5 which is the holder of price.

I tried to put a sum function there but I dont have proper datamember and datafield.

Report gives "Input string was not in a correct format" warning

$
0
0
I have a report in my VB.NET 2010 application. The report runs but the Immediate window shows the following warning:

Quote:

Warning: The Format expression for the textrun ‘ChangeTime.Paragraphs[0].TextRuns[0]’ contains an error: Input string was not in a correct format. (rsRuntimeErrorInExpression)
Here is the SQL statement that get the report's data from my Microsoft Access database:

Code:

strSQL = "SELECT [Table Changes].TableName, Format([Field Changes].ChangeDate,'Medium Date') AS ChangeDate, Format([Field Changes].ChangeDate,'Long Time') AS ChangeTime, [Field Changes].ChangeType, [Field Changes].FieldName, [Field Changes].OldValue, [Field Changes].NewValue " & _
    "FROM [Table Changes] INNER JOIN [Field Changes] ON [Table Changes].RecID = [Field Changes].TableChangePK " & _
    "WHERE ([Table Changes].TableName = """ & strTableName & """) " & _
    "ORDER BY Format([Field Changes].ChangeDate,'Medium Date'), Format([Field Changes].ChangeDate,'Long Time'), [Field Changes].ChangeType, [Field Changes].FieldName"

Note the "Format([Field Changes].ChangeDate,'Long Time') AS ChangeTime".

Here is the TablixCell definition for the ChangeTime field's TextRun tag from the report's .RDLC file:

Code:

<TablixCell>
  <CellContents>
    <Textbox Name="ChangeTime">
      <CanGrow>true</CanGrow>
      <KeepTogether>true</KeepTogether>
      <Paragraphs>
        <Paragraph>
          <TextRuns>
            <TextRun>
              <Value>=Fields!ChangeTime.Value</Value>
              <Style>
<FontFamily>Tahoma</FontFamily>
<Format>=Fields!ChangeTime.Value.ToString("hh\:mm\:ss tt")</Format>
<Color>#4d4d4d</Color>
              </Style>
            </TextRun>
          </TextRuns>
          <Style>
            <TextAlign>Center</TextAlign>
          </Style>
        </Paragraph>
      </Paragraphs>
      <rd:DefaultName>ChangeTime</rd:DefaultName>
      <Style>
        <Border>
          <Color>#e5e5e5</Color>
          <Style>Solid</Style>
        </Border>
        <PaddingLeft>2pt</PaddingLeft>
        <PaddingRight>2pt</PaddingRight>
        <PaddingTop>2pt</PaddingTop>
        <PaddingBottom>2pt</PaddingBottom>
      </Style>
    </Textbox>
  </CellContents>
</TablixCell>

Note the "<Format>=Fields!ChangeTime.Value.ToString("hh\:mm\:ss tt")</Format>"

If I change the XML's Format tag to "<Format>=Fields!ChangeTime.Value.ToString("T")</Format>" the report still shows the warning message.

Why does the report have this warning message about the ChangeTime format? Is it just a conversion issue from the Microsoft Access SQL statement to the .NET data field?

Hour wise report

$
0
0
Hi guys
i want report based on hour on a particular date

for example:

In a shift every 2 hours data



i want the sql quey for vb 6 to fetch hour wise report




thank u

Code to automatically do "Save As..." when creating a PDF document

$
0
0
Hi, I’m brand new on this forum and know only the bare rudiments of VBA, so please be gentle, and explain things in idiot language :)

I have some code in Access 2010 which runs various queries and then opens a report. The last steps of this code set my printer to CutePDF and then “prints” the report. Because CutePDF is a PDF writer, the Save As dialog box is displayed, which allows me to give the PDF file a name. So far so good.

But I need to do this 30+ times, each time using a different entry in my table as a parameter, a bit like having 30 customers. Assuming that I wanted to save the files in the same folder each time, overwriting the previous ones, how can I use code to say something like the following?

Code:

X = CountOf([NameOfEntry]) from “MyTable”

For N = 1 to X
  Read [NameOfEntry] from “MyTable”
    ‘Run the various queries          - I can do this part!
    ‘Print the report to PDF            - and this part!
  Save As..C:\Desktop\Reports\[NameOfEntry]; Overwrite = Yes
Next N

Obviously this code is not written correctly, but I hope it explains the logic of what I’m trying to achieve. I’m using Access 2010 on Windows XP Professional, if that makes any difference.

Thank you
Viewing all 518 articles
Browse latest View live


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