A sample Access database ConnectCode.mdb is included in the software installation. This sample database
includes the macros for generating the check digits, formatting the barcode string and adding start/stop characters in the "ConnectCode" module.
This sample database is created for you to test out the creation of barcodes in Access quickly and easily.
Displaying a barcode in Access Reports
Launch Microsoft Access
Open the ConnectCode.mdb database file
Under the Objects column, click on Reports
Click on the SampleReport. This will bring up the report in Preview mode.
Open the Report in Design View. Look for the text "=Encode_Code39([Data])". This is the part which uses the ConnectCode VB macros to encode data to a barcode string.
Change the Font of this object to any of the ConnectCode Code39 Fonts. e.g. CCode39_S3. Resize the object to get your desired results.
Click on Print Preview to display the Report again
Importing the VB macros to Access
If you will like to use your own database, you can do the following to import the macros.
Launch Microsoft Access
Click on the menu Tools->Macro->Visual Basic Editor.
Click on the menu File->Import File...
Select the Encoder.bas file that is bundled with ConnectCode. This file is located in the Resource sub directory of where ConnectCode is installed
Click on Save followed by Close in the Visual Basic Editor
Copyright (C) 2004-2005, BarcodeResource.com. All Rights Reserved.