Well, there are probably as many ways to do this as the number of cloves of garlic Emeril Legasse uses in spaghetti sauce.
I would use a plain old editbox to show the barcode data and just insert the actual data into a table in the background. With an editbox you can just say editbox.value = newbarcode+chr(13)+allt(editbox.value)
insert into mytable (barcodefield) values (newbarcode)
This way your user sees a window with each new barcode nicely printed to the top of a box that scrolls downward from the top and the data is nicely placed in a table for whatever use you may have for it a later time.
Now go home, dinner is waiting...
HTH
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California