Clockin barcode

I am trying to create a barcode for employee badges to clock in with a
single barcode. The problem I am having is it is stopping after the
Shift on the Shift entry screen. Does anyone have a formula that is
working for clock in, I have tried several formulas with using
combination of $M (enter), $I (tab) and %DO (Alt O) and they always stop
at the shift entry screen. Here is the latest one I've tried.

stringVar shift := totext({EmpBasic.Shift});


I would be grateful for any help.



[Non-text portions of this message have been removed]