Barcode does not change in the picture propertyLink

I use ActiveBarcode with Delphi. 3.0 in a database. First I open a dataset and print the barcode. This works fine. Now I do this again with another dataset and now the same barcode is printed. I'm using the picture property for printing.
Please add the following line of code to your project exactly before you create a new barcode: