Thanks for replying
while I sloved my problem that was i have a combo box with invortory items and i want to be able to scan in the item number from a barcode or type in the item discription the way i sloved it was to make the row source of the combobx
Select itemno, itemdiscription
from items
union
Select itemno, itemno as forscan
from items
but it will still be interstring to know if you can capture something like what is the name of the keyboard that put data in the keyboard buffer or from what usb port data was entered