Dear Gina,
I have come to the end of this project but I have one last problem to solve,
there is a code supposed to run behind the BarcodeNumber field on the main form to generate eancode, which is;
Private Sub BarcodeNumber_AfterUpdate()
Me.eancode = code128(BarcodeNumber)
Me.Requery
Me.Refresh...