Views:

Product: LABELVIEW, CODESOFT

Version: All Versions

 

1. Go to Data Sources, select Counter and choose Add.

2. Enter Counter in the Name field.

3. Go to the Output tab.

4. Enable the Pad check box. (NOTE: The X Characters value is determined by the Maximum length at the top of the Output tab) Click OK.

5. Go to Data Sources, select Date and choose Add.

6. Enter Date in the Name field.

7. Select Customized in the Date Format selection box.

8. Enter yyjj in the text field below the Date Format selection box. Click OK.

9. Go to Data Sources, select Formula and choose Add.

10. Enter CorrectFormula in the Name field.

11. Enter {Date} & output({Counter}) as the formula. Click OK.

12. Go to Data Sources, select Formula, select CorrectFormula and choose Place.

13. Left-Click on a blank space on the label. Select Text.

14. As shown in the image below, there are 4 zeroes in the Counter portion of the formula. If we had not added Ouput() then there would only be 1 zero. Note: The Output() function displays the data source with the settings established in the Output tab of the Data Source’s properties. If the Output function is not used only the raw data from the data source will display.