Click here to Skip to main content
15,892,161 members
Articles / Programming Languages / Visual Basic

Using Formula in Crystal Report

Rate me:
Please Sign up or sign in to vote.
4.85/5 (15 votes)
8 Aug 2011CPOL9 min read 235.6K   5.2K   20  
The formula field in a Crystal report is a functionality provided to enhance computation of values dynamically during the display/printing of records in a report of an application.
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class ReportBinCardView
    Inherits System.Windows.Forms.Form

    'Form overrides dispose to clean up the component list.
    <System.Diagnostics.DebuggerNonUserCode()> _
    Protected Overrides Sub Dispose(ByVal disposing As Boolean)
        Try
            If disposing AndAlso components IsNot Nothing Then
                components.Dispose()
            End If
        Finally
            MyBase.Dispose(disposing)
        End Try
    End Sub

    'Required by the Windows Form Designer
    Private components As System.ComponentModel.IContainer

    'NOTE: The following procedure is required by the Windows Form Designer
    'It can be modified using the Windows Form Designer.  
    'Do not modify it using the code editor.
    <System.Diagnostics.DebuggerStepThrough()> _
    Private Sub InitializeComponent()
        Me.ViewReportBinCard = New CrystalDecisions.Windows.Forms.CrystalReportViewer
        Me.SuspendLayout()
        '
        'ViewReportBinCard
        '
        Me.ViewReportBinCard.ActiveViewIndex = -1
        Me.ViewReportBinCard.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
        Me.ViewReportBinCard.Dock = System.Windows.Forms.DockStyle.Fill
        Me.ViewReportBinCard.Location = New System.Drawing.Point(0, 0)
        Me.ViewReportBinCard.Name = "ViewReportBinCard"
        Me.ViewReportBinCard.SelectionFormula = ""
        Me.ViewReportBinCard.Size = New System.Drawing.Size(506, 262)
        Me.ViewReportBinCard.TabIndex = 0
        Me.ViewReportBinCard.ViewTimeSelectionFormula = ""
        '
        'ReportBinCardView
        '
        Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
        Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
        Me.ClientSize = New System.Drawing.Size(506, 262)
        Me.Controls.Add(Me.ViewReportBinCard)
        Me.Name = "ReportBinCardView"
        Me.Text = "ReportBinCardView"
        Me.ResumeLayout(False)

    End Sub
    Friend WithEvents ViewReportBinCard As CrystalDecisions.Windows.Forms.CrystalReportViewer
End Class

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
Nigeria Nigeria
A Computer Scientist of high programming skill

Comments and Discussions