Hi , is there a way to add a custom queries on an existing .xsd or dataset ?
I have a wizard generated dataset, if there is a way to customize its queries, I want to learn its procedure.
Thanks.
Hi , is there a way to add a custom queries on an existing .xsd or dataset ?
I have a wizard generated dataset, if there is a way to customize its queries, I want to learn its procedure.
Thanks.
I am trying to export a crystal report to an Excel- data only format, and then set the export option to "Maintain relative object position", but I cannot find that option anywhere. I cannot find any of the options for Excel- data only (although I can find the options for Excel exporting).
I am using Visual Studio 2005 and Crystal Reports 10.2.3600.
Any help is appreciated
I am working with visual studio 2008 for report in ssrs. I wand to add a field of date time in report which should be time of creation of report. How can I add it.
From a sql DB and Dateset, I have a field called Category, with this category there are many different values that could be stored.
Is it possible to sum a collection of matching words?
like so
If fields!.Category.value = Car or Bike the sum the columns
Hi,
I am creating a Crystal Report application in c#. However when i run the form its asking me for a username and password. I am using Microsoft SQL Server 2008 and i am using Windows Authentication to connect to the server. Therefore there are no specified Usernames and Passwords except for my laptop password. Can anyone help me to sort out this issue?
Thanks in advance!
*mirfath*
Hi, how to t reate a report in visual basic 2010 using reportviewer programmatically or dynamically just like creating a datareport in vb 6.0?
H! guys! How can i use the value of Textbox as a Port number. Here is my code
Dim MYPORT As Integer = Convert.ToInt32(Me.txtMyPort.Text) but this does not work.
Dim MYPORT As Integer = 44449 <--This one work but what i want is to use the value of Textbox as a Port.
Hope you guys can help me...Thanks...
danilovirus007
Continuing my research into implementing RDLC reports. One functionality we require is displaying inventory
images on the report. This will be a VB.net 2005 app running on workstations. A simplified environment has been
staged by adding and populating an image field in The Northwind Customers table. An extraction function
was tested successfully on a winform app populating a picturebox. My sticking point is that there is not an
"Expression" context menu for an image control. The "Data Region" combobox doesn’t seem right.
The function references only Row 2 for now, because I'm not used to working with bound controls
and don't know how to reference the current record. Any help is much appreciated !
Found this so far: http://msdn.microsoft.com/en-us/library/ms251715(VS.80).aspx
http://i286.photobucket.com/albums/ll84/gto866/Dev/RDLC2.jpg
Imports Microsoft.Reporting.WinForms
Imports System.IO
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.CustomersTableAdapter.Fill(Me.northwndDataSet.Customers)
Me.ReportViewer1.LocalReport.EnableExternalImages = True
Me.ReportViewer1.RefreshReport()
End Sub
Private Function ByteToImage() As Image
Dim objImage As Image
Dim bytImageBuffer() As Byte
Dim objMemoryStream As MemoryStream
bytImageBuffer = Me.northwndDataSet.Tables(0).Rows(2).Item("ImagePicture")
objMemoryStream = New MemoryStream(bytImageBuffer, True)
objMemoryStream.Write(bytImageBuffer, 0, bytImageBuffer.Length)
objImage = Image.FromStream(objMemoryStream)
ByteToImage = objImage
End Function
End Class
Update:
After reading about the CODE global variable, I tried this:
Go to the Report->Properties menu
Click the Code tab and define the function.
Click the Element tab. enter Image1
Click the Data Output tab and enter =Code.ByteToImage(Fields!ImagePicture.value))
This is possibly moving in the right direction, but still errors out with
"Value expression for image1 is an empty string"
I want to display Arabic number in my report.
I tried to set the Language
property
to ar
but
it's not working. also tried a lot of things but none of them are working :(
Any idea how to make it?
Thank you.
Hello. I have a matrix in my VS report and attempting to alternate colors of the rows. The code below (inserted in the BackgroundColor section of the group) is working well until there is a null value in one of the cells (i.e. RCR,Sunday) .
Then the code sorta skips over and leaves me with a white cell (should be yellow in this example).
=iif(RunningValue(Fields!DwPtStatus.Value,CountDistinct,Nothing) Mod 2, “White”, “LightGoldenRodYellow”)
How can this be tweaked?
Hi all
I am a beginner in creating reports I found this blog and liked the drop down list idea
but I am getting some issues in the data source which are empty can any one please help me to solve it
thanks a lot
this is the blogThe DataSet for my report is an object that, among other simple variables, contains a list of user type objects. How do I show the elements of this list in a reportviewer List control inside the report?
I'm having a ridiculously hard time trying to make a .rdlc report image hidden or visible based on report parameters at run-time.
I have created a report and when the report loads it reads a tab delimited text file to get its parameters. Here is my code. Note: ary(0) is the parameter name and ary(1) is the parameter value. All parameters values are String types because they are being read from a text file.
Public Class frmReportViewer Private Sub frmReportViewer_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim ary(1) As String Dim paramList(40) As Microsoft.Reporting.WinForms.ReportParameter Dim FullFileName As String = System.Environment.GetFolderPath(System.Environment.SpecialFolder.Desktop).ToString & "\LBQuoteData.txt" With Me.ReportViewer1 .SetDisplayMode(Microsoft.Reporting.WinForms.DisplayMode.PrintLayout) .Reset() .LocalReport.ReportEmbeddedResource = "FormetcoQuoting.LBQuote.rdlc" Using sr As New System.IO.StreamReader(FullFileName) For i As Integer = 0 To paramList.Length - 1 ary = Split(sr.ReadLine(), vbTab) paramList(i) = New Microsoft.Reporting.WinForms.ReportParameter(ary(0), ary(1)) Next i End Using ' give the report all the parameter values we've collected in the paramList .LocalReport.SetParameters(paramList) ' produce the report .RefreshReport() End With End Sub End Class
I have several image controls that display an embedded image of a black dot. I included a partial image of my report at design-time below.
If parameter IntegratedDiagnostics = "True", I want to show the Integrated Diagnostics black dot under "Included" and hide the black dot under "Excluded". For the Included black dot image visible property expression I use this code:
=IIF(Parameters!IntegratedDiagnostics.Value LIKE "True", True, False)
For the Excluded black dot image visible property expression I use this code:
=IIF(Parameters!IntegratedDiagnostics.Value LIKE "True", False, True)
Here is my problem:
If the parameter = "True", then the Excluded image is shown and Included image disappears (see below). It's the exact opposite of what my visible property expressions say to do. I have confirmed in my text file the value is "True". Why is this happening? I'm I crazy?
Thanks in advance,
Ryan
TimeSpan
so that it displays in the format "h:mm" (no leading 0), but I can't find the right formatting function and/or format string. (Seems like everything I've seen assumes aDateTime
or equivalent.) Can someone help?Sathiya
Hi
Im trying to work out the percentage of a count of status = awaiting information against all calls. I get a 0 with this?
=Count(IIF(Fields!STATUS_NAME.Value = "Awaiting Information",1,0),"OpenCalls_24_0")/Count(Fields!id.Value, "OpenCalls_24_0")
any ideas?
Thanks
I have two images side by side on a rdlc report that are embedded into a rectangle. At run time I pass the report a string parameter which determines which image will be displayed. For example, if Parameter1 = "True" then show Image1 and hide Image2. If parameter = "False" then show Image2 and hide Image1. Below is the Visible property expression I use for each image.
Image1 Visible Property Expression:
=IIf(Parameters!Parameter1.Value LIKE "True", True, False)
Image2 Visible Property Expression:
=IIf(Parameters!Parameter1.Value LIKE "True", False, True)
For some reason, when Image1 (the left most image) is hidden at runtime, Image2 automatically shifts to the left, why? Is there any way to prevent this?
Thanks in advance,
Ryan
I have a report with a subreport.
Both have pre-filtered datasets based on two combo boxes.
The main report has data returned. (Filtered stored procedure placed in the .xsd file)
The subreport when opened as a main report has data returned. (Filtered stored procedure placed in the .xsd file)
But, when I put the subreport on the main report I get the "Data retrieval failed for the subreport" error message.
I need a great tutorial in VB that shows all of the steps necessary to get this working properly.
The Data is managed in ObjectDataSource; one for each report.
I am using the SubreportProcessingEventArgs that includes the Handles Reportviewer1.DataBinding event. That's where I add the datasources for the subreport.
Help! PLEASE!!!