Quantcast
Channel: Crystal Reports
Viewing all articles
Browse latest Browse all 1507

How to create reports with crystal report with ttx database

$
0
0

good morning
If somebody guides me porfa
I'm doing a car registration application on the form I need to print a vehicle entry ticker
Vb.net sql server crystal report

Private Sub Btn_Registrar_Click (sender As Object, and As EventArgs) Handles BtnRegistrar.Click        Dim objregistrar As New BLLRegistroTicker        Dim evergistroEntry As New VregistroEntrada        Dim Result As Integer = 0        try            If Txt_Placa.Text.Trim = "" Then                MsgBox ( "GET THE REGISTRATION", MsgBoxStyle.Exclamation, "EMPTY DATA")            Else                Evergistro_Entrada.Placa = TxtPlaca.Text                Evergistro_Entrada.FechaHoraEntrada = TxtDateEntry.Text                Evergistro_Entry.Code = Txt_Code.Text                Result = objregistrar.Insert (input_register)                If Result> 0 Then                    To generate () 'alias numbers                    Codigobarra () 'barcode in the pinturebox                    Call columns ()                    'LblComanda.Text = Result.ToString                    MessageBox.Show ( "The command was successfully saved", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Information)                    DvgPatentes.DataSource = objregistrar.MOSTRAR_MATRICULAS (evergistro_Entrada)                    Clean_matricula ()                    Txt_Placa.Focus ()                                   Else                    MessageBox.Show ( "Could not record the Ticker", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning)                    MessageBox.Show ( "No data on Ticker to record", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning)                    exit sub                End If            End If        Catch ex As Exception            MessageBox.Show (ex.Message, "Warning", MessageBoxButtons.OK, MessageBoxIcon.Error)        End Try    End Sub

What this code does is register the auto registration

Sql query code
Select patent, Feha_Hora, Code from Registro where Code = @ code


Viewing all articles
Browse latest Browse all 1507

Latest Images

Trending Articles



Latest Images

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