This video shows you how to Generate Barcode text using MS ACCESS.
Private Sub cmdGenerateBarcode_Click()
Dim strBarcodeText As String
Dim strBarcodeFontName As String
Dim intBarcodeFontSize As Integer
strBarcodeText = Me.txtBarcodeText.Value 'Replace "txtBarcodeText" with the name of your text box that contains the text to be encoded.
strBarcodeFontName = "Code 128" 'Replace "Code 128" with the name of the barcode font that you have installed on your computer.
intBarcodeFontSize = 24 'Set the font size as desired.
Me.txtBarcode.FontName = strBarcodeFontName
Me.txtBarcode.FontSize = intBarcodeFontSize
Me.txtBarcode.Value = "*" & strBarcodeText & "*" 'Add "*" to the beginning and end of the barcode text to ensure proper encoding.
End Sub
www.dafont.com/code-128.font
#Rover
msaccess
Негізгі бет Generate Barcode text using MS ACCESS | MS Access
Пікірлер: 6