Click here to Skip to main content
15,892,517 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.
Public Class StkBinMenu

    Private Sub ExitToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ExitToolStripMenuItem.Click
        End
    End Sub

    Private Sub ReceiveStockToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ReceiveStockToolStripMenuItem.Click
        toggleForm = 1
        FormMain = New dataentry
        FormMain.ShowDialog()
    End Sub

    Private Sub StkBinMenu_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Startup()
    End Sub

    Private Sub DispatchStockToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DispatchStockToolStripMenuItem.Click
        toggleForm = 2
        FormMain = New dataentry
        FormMain.ShowDialog()
    End Sub

    Private Sub PrintBinCardToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PrintBinCardToolStripMenuItem.Click
        toggleForm = 3  ' Select Stock Code
        FormMain = New dataentry
        FormMain.ShowDialog()
    End Sub
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