|
|
In the window titled Structure on screen double click in the first row below where it says Table 1 and the following popup window will appear. |
|
|
|
|
Name the first field we called 'barcodenum', set the type to 'text' and click Apply.
Click in the second row, which will be blank, of the table editor and repeat naming the second field 'barcodepicture', set the type to 'text' and click Apply.
|
|
|
|
|
Once this is done you will see your table with both of the fields you've just created.
|
|
|
|
|
Next Create a Form to show your barcode. Click the Design menu and choose New Form. Move your two fields from the available fields box to the selected fields box. Then Click Edit, you will be taken to the screen shown left which is your form.
On the screen double click your first field (barcodenum) to enter the property list for this field.
Then click the edit button on the pallette to enter the 'object method list'.
|
|
|
 |
Set the object method for barcodenum to
barcodepicture := Barcode_Code128 (barcodenum;100;26;0;1)
You will need to type this in to the top field like shown in the example left.
To choose your barcode type (we used Barcode_Code128) scroll to the bottom of the commands field and select barcode, Then select the barcode type you require from the popup list.
|
The calculation we have used in our example (100;26;0;1) is explained as follows.
100 = This is the barcode magnification in percentage (100%).
26 = This is the barcode height (4D limits accuracy to 2mm).
0 = This is the barcode width reduction (4D limits accuracy to 10 microns).
1 = This determines wether or not human readable characters can be seen below the bar of your barcode '1' - for yes and '0' for no.
Next we need to change the font of the output field to the barcodex font.
|
 |
Double click the barcodepicture field to enter its property list.
Scroll down to the bottom and set the font to 'BarcodeX' and set the font size to '10'.
Font size 10 will generate a 100% code.
Font size 8 will generate an 80% code and so on. |
You are now ready to start generating your barcodes.
From the menu at the very top of your screen click 'Use' then click 'User' from the drop down menu to change from designer to user.
Create a new record from the Enter menu and your form should appear, if a list appears double click the first item in the list to show the form. |
 |
In the barcodenum field enter your number and press tab on the keyboard to calculate the barcode field.
Now whenever you create a new record a barcode will be created as well. |
|
|